Modules | |
Trace modules | |
Trace buffers | |
Trace entries | |
Version and Permission | |
Structs, types, ... | |
Provide access to the common internal tracing module of the device.
The tracing system provides a mechanism for collecting and viewing device debug output. Logs from various components and the firmware system are collected in a circular buffer, which then can be read and viewed. There are 3 types of logs in the trace system: message, warning and error. For better filtering and to minimize performance impact on the running system, the logs can be grouped to modules and each module can be activated or deactivated. A log to an activated module is written to one of the given circular buffers of the trace system. Logs to deactivated modules are discarded. It is possible to read the current content of the buffers.
The following diagram shows the information flow of a trace message in the system.