ChibiOS  21.6.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 (os_instance_t *oip)
 Writes a time stamp and increases the trace buffer pointer. More...
 
void __trace_object_init (trace_buffer_t *tbp)
 Circular trace buffer initialization. More...
 
void __trace_ready (thread_t *tp, msg_t msg)
 Inserts in the circular debug trace buffer a ready record. 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 chTraceWriteI (void *up1, void *up2)
 Adds an user trace record to the trace buffer. More...
 
void chTraceWrite (void *up1, void *up2)
 Adds an user trace record to the trace buffer. More...
 
void chTraceSuspendI (uint16_t mask)
 Suspends one or more trace events. More...
 
void chTraceSuspend (uint16_t mask)
 Suspends one or more trace events. More...
 
void chTraceResumeI (uint16_t mask)
 Resumes one or more trace events. More...
 
void chTraceResume (uint16_t mask)
 Resumes one or more trace events. More...
 

Detailed Description

Tracer code.

Definition in file chtrace.c.