API Documentation
OpTiMSoC tracing¶
-
group
tracing
Defines
-
OPTIMSOC_TRACE
(id, v)¶ The instruction sequence issued as a trace event
- Parameters
id
: The identifier of the trace (static value)v
: The value of the trace event
Functions
-
void
optimsoc_trace_definesection
(int id, char *name)¶ Define a section for the software tracing
This initializes a section with a given id and sets a name, that can be used for display or similar.
- Parameters
id
: Section identifiername
: Name of this section
-
void
optimsoc_trace_defineglobalsection
(int id, char *name)¶
-
void
optimsoc_trace_section
(int id)¶ Trace a section enter
Enter a section and trace this to the debug system.
- Parameters
id
: Section entered
-
void
optimsoc_trace_kernelsection
(void)¶ Trace a kernel enter
On entering the kernel trace this to the debug system.
-