ChibiOS/RT 7.0.5
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.
void __trace_object_init (trace_buffer_t *tbp)
 Circular trace buffer initialization.
void __trace_ready (thread_t *tp, msg_t msg)
 Inserts in the circular debug trace buffer a ready record.
void __trace_switch (thread_t *ntp, thread_t *otp)
 Inserts in the circular debug trace buffer a context switch record.
void __trace_isr_enter (const char *isr)
 Inserts in the circular debug trace buffer an ISR-enter record.
void __trace_isr_leave (const char *isr)
 Inserts in the circular debug trace buffer an ISR-leave record.
void __trace_halt (const char *reason)
 Inserts in the circular debug trace buffer an halt record.
void chTraceWriteI (void *up1, void *up2)
 Adds an user trace record to the trace buffer.
void chTraceWrite (void *up1, void *up2)
 Adds an user trace record to the trace buffer.
void chTraceSuspendI (uint16_t mask)
 Suspends one or more trace events.
void chTraceSuspend (uint16_t mask)
 Suspends one or more trace events.
void chTraceResumeI (uint16_t mask)
 Resumes one or more trace events.
void chTraceResume (uint16_t mask)
 Resumes one or more trace events.

Detailed Description

Tracer code.

Definition in file chtrace.c.