ChibiOS/RT  5.1.0
chtrace.c File Reference

Tracer code. More...

#include "ch.h"

Go to the source code of this file.

Functions

static NOINLINE void trace_next (void)
 Writes a time stamp and increases the trace buffer pointer. More...
 
void _trace_init (void)
 Trace circular buffer subsystem initialization. More...
 
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...
 

Detailed Description

Tracer code.

Definition in file chtrace.c.