| 
    ChibiOS
    0.0.0
    
   | 
 
Tracer macros and structures. More...
Go to the source code of this file.
Data Structures | |
| struct | ch_trace_event_t | 
| Trace buffer record.  More... | |
| struct | ch_trace_buffer_t | 
| Trace buffer header.  More... | |
Macros | |
Trace record types  | |
| #define | CH_TRACE_TYPE_UNUSED 0U | 
| #define | CH_TRACE_TYPE_SWITCH 1U | 
| #define | CH_TRACE_TYPE_ISR_ENTER 2U | 
| #define | CH_TRACE_TYPE_ISR_LEAVE 3U | 
| #define | CH_TRACE_TYPE_HALT 4U | 
| #define | CH_TRACE_TYPE_USER 5U | 
Events to trace  | |
| #define | CH_DBG_TRACE_MASK_DISABLED 255U | 
| #define | CH_DBG_TRACE_MASK_NONE 0U | 
| #define | CH_DBG_TRACE_MASK_SWITCH 1U | 
| #define | CH_DBG_TRACE_MASK_ISR 2U | 
| #define | CH_DBG_TRACE_MASK_HALT 4U | 
| #define | CH_DBG_TRACE_MASK_USER 8U | 
| #define | CH_DBG_TRACE_MASK_SLOW | 
| #define | CH_DBG_TRACE_MASK_ALL | 
Debug related settings  | |
| #define | CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED | 
| Trace buffer entries.  More... | |
| #define | CH_DBG_TRACE_BUFFER_SIZE 128 | 
| Trace buffer entries.  More... | |
Functions | |
| void | _trace_switch (thread_t *ntp, thread_t *otp) | 
| Inserts in the circular debug trace buffer a context switch record.  More... | |
| void | _trace_isr_enter (const char *isr) | 
| Inserts in the circular debug trace buffer an ISR-enter record.  More... | |
| void | _trace_isr_leave (const char *isr) | 
| Inserts in the circular debug trace buffer an ISR-leave record.  More... | |
| void | _trace_halt (const char *reason) | 
| Inserts in the circular debug trace buffer an halt record.  More... | |
| void | chDbgWriteTraceI (void *up1, void *up2) | 
| Adds an user trace record to the trace buffer.  More... | |
| void | chDbgWriteTrace (void *up1, void *up2) | 
| Adds an user trace record to the trace buffer.  More... | |
| void | chDbgSuspendTraceI (uint16_t mask) | 
| Suspends one or more trace events.  More... | |
| void | chDbgSuspendTrace (uint16_t mask) | 
| Suspends one or more trace events.  More... | |
| void | chDbgResumeTraceI (uint16_t mask) | 
| Resumes one or more trace events.  More... | |
| void | chDbgResumeTrace (uint16_t mask) | 
| Resumes one or more trace events.  More... | |
Tracer macros and structures.
Definition in file chtrace.h.