<bank_patch_tool>.status <bitmask-translator>.info
Simics Reference Manual  /  3 Commands  /  3.2 Command List  / 

<base-trace-mem-hier>.start

Synopsis

<base-trace-mem-hier>.start [file] [-raw] [-same]
<base-trace-mem-hier>.stop

Description

Enables a tracer that must have been created using the new-tracer command for example. The tracer logs all executed instructions, memory accesses and exceptions. The output is written (appended) to file if given, otherwise to standard output. If the file name ends in .gz, the output will be gzipped.

If the -raw flag is used, each trace entry is written in binary form; i.e., a struct trace_entry. This structure can be found in the trace.h source file. The raw output format can only be written to a file and not to the command line.

If the -same flag is used, you will get the same output file and mode as the last time, i.e. when restarting tracing again that has been stopped.

The cpu_list and the memory_space_list attributes in the object should be set before the tracer is started for the first time. This is typically done by the new-tracer command.

The stop command turns off the tracer and closes the output file, if any. The entire trace may not have been written to the file until tracing has been turned off in this way.

Provided By

trace
<bank_patch_tool>.status <bitmask-translator>.info