sim: trace: document alu/fpu/vpu trace options better

Make the acronyms clear for people.
This commit is contained in:
Mike Frysinger 2015-06-24 19:06:38 +05:45
parent 201e8dfdc8
commit 8371bf0cd9
3 changed files with 14 additions and 7 deletions

View File

@ -1,3 +1,10 @@
2015-06-24 Mike Frysinger <vapier@gentoo.org>
* sim-trace.c (trace_options): Update help text for trace-alu,
trace-fpu, trace-vpu, and trace-semantics.
* sim-trace.h (TRACE_ALU_IDX): Update comment text.
(TRACE_FPU_IDX, TRACE_VPU_IDX): Likewise.
2015-06-24 Mike Frysinger <vapier@gentoo.org>
* sim-assert.h (SIM_FILTER_PATH): Delete.

View File

@ -102,19 +102,19 @@ static const OPTION trace_options[] =
'\0', "on|off", "Trace memory operations",
trace_option_handler, NULL },
{ {"trace-alu", optional_argument, NULL, OPTION_TRACE_ALU},
'\0', "on|off", "Trace ALU operations",
'\0', "on|off", "Trace ALU (Arithmetic Logic Unit) operations",
trace_option_handler, NULL },
{ {"trace-fpu", optional_argument, NULL, OPTION_TRACE_FPU},
'\0', "on|off", "Trace FPU operations",
'\0', "on|off", "Trace FPU (Floating Point Unit) operations",
trace_option_handler, NULL },
{ {"trace-vpu", optional_argument, NULL, OPTION_TRACE_VPU},
'\0', "on|off", "Trace VPU operations",
'\0', "on|off", "Trace VPU (Vector Processing Unit) operations",
trace_option_handler, NULL },
{ {"trace-branch", optional_argument, NULL, OPTION_TRACE_BRANCH},
'\0', "on|off", "Trace branching",
trace_option_handler, NULL },
{ {"trace-semantics", optional_argument, NULL, OPTION_TRACE_SEMANTICS},
'\0', "on|off", "Perform ALU, FPU, MEMORY, and BRANCH tracing",
'\0', "on|off", "Perform ALU, FPU, VPU, MEMORY, and BRANCH tracing",
trace_option_handler, NULL },
{ {"trace-model", optional_argument, NULL, OPTION_TRACE_MODEL},
'\0', "on|off", "Include model performance data",

View File

@ -50,7 +50,7 @@ enum {
/* Include model performance data in tracing output. */
TRACE_MODEL_IDX,
/* Trace ALU operations. */
/* Trace ALU (Arithmetic Logic Unit) operations. */
TRACE_ALU_IDX,
/* Trace memory core operations. */
@ -59,10 +59,10 @@ enum {
/* Trace events. */
TRACE_EVENTS_IDX,
/* Trace fpu operations. */
/* Trace FPU (Floating Point Unit) operations. */
TRACE_FPU_IDX,
/* Trace vpu operations. */
/* Trace VPU (Vector Processing Unit) operations. */
TRACE_VPU_IDX,
/* Trace branching. */