5.7.1 GenericTrace parameters

This section describes the parameters for the GenericTrace plug-in.

Each parameter is prefixed with TRACE.GenericTrace, for example:

TRACE.GenericTrace.stop_on_event

Table 5-9 GenericTrace parameters

Name Type Default value Allowed values Runtime Description
enabled bool true true, false true If set to true, tracing is enabled.
flush bool false true, false true If set to true, the trace file is flushed after every event. This parameter has a performance impact but could be used to debug crashes better.
hide-fieldnames bool false true, false true Do not print field names when printing trace output.
perf-period int 0x0 0x0 - 0x7fffffffffffffff false Print performance after every N instructions. Disabled if 0.
print-timestamp bool false true, false true Start each trace entry with the host time.
shorten-paths bool true true, false true If set to true, the components paths of trace events are shortened by cutting off the common prefix. The minimal, non-ambiguous path suffix remains. If all traced sources belong to the same components, no path is logged.
simulated-timestamp bool false true, false true Start each trace entry with the simulated time.
start-icount int 0x0 0x0 - 0x7fffffffffffffff false Start tracing on a certain instruction count. Tracing starts up to 2048 instructions before this count.
stop-icount int 0x7fffffffffffffff 0x0 - 0x7fffffffffffffff false Stop tracing on a certain instruction count. Tracing will stop up to 2048 instructions after this count.
stop_on_event bool false true, false false Stops the simulation when any event is triggered.
trace-file string "" "" true The trace file to write into. If STDERR, prints to stderr. If empty, prints to stdout.
trace-sources string "INST" "" true A comma-separated list of trace sources to be traced. A component path can be prepended, with the components separated by dots. Both the component path and the trace source name can contain the wildcards * and ?. A field mask as a number in hex or decimal format can be appended with =. For example, my.subsystem.core.cpu*.TRACE_SOURCE=0x08.
verbose bool false true, false true Print debugging information.
Non-ConfidentialPDF file icon PDF version100964_1142_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.