app: reword -t option help string
Avoid mentioning "trace"; the -t flag controls SPDK_DEBUGLOG output, which used to be called TRACELOG, but now the mention of "trace" is just misleading and causes confusion with tracepoints. Change-Id: I537d08d8ca216be0240b318918aa22127f9d636d Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/414701 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
f007d46c5a
commit
aafa745388
@ -169,7 +169,7 @@ spdk_tracelog_usage(FILE *f, const char *trace_arg)
|
|||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
struct spdk_trace_flag *flag;
|
struct spdk_trace_flag *flag;
|
||||||
|
|
||||||
fprintf(f, " %s flag enable trace flag (all", trace_arg);
|
fprintf(f, " %s flag enable debug log flag (all", trace_arg);
|
||||||
|
|
||||||
TAILQ_FOREACH(flag, &g_trace_flags, tailq) {
|
TAILQ_FOREACH(flag, &g_trace_flags, tailq) {
|
||||||
fprintf(f, ", %s", flag->name);
|
fprintf(f, ", %s", flag->name);
|
||||||
@ -177,7 +177,7 @@ spdk_tracelog_usage(FILE *f, const char *trace_arg)
|
|||||||
|
|
||||||
fprintf(f, ")\n");
|
fprintf(f, ")\n");
|
||||||
#else
|
#else
|
||||||
fprintf(f, " %s flag enable trace flag (not supported - must rebuild with CONFIG_DEBUG=y)\n",
|
fprintf(f, " %s flag enable debug log flag (not supported - must rebuild with CONFIG_DEBUG=y)\n",
|
||||||
trace_arg);
|
trace_arg);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user