ChibiOS/RT  5.1.0
ch_trace_buffer_t Struct Reference

Trace buffer header. More...

#include <chtrace.h>

Collaboration diagram for ch_trace_buffer_t:
Collaboration graph

Data Fields

uint16_t suspended
 Suspended trace sources mask. More...
 
uint16_t size
 Trace buffer size (entries). More...
 
ch_trace_event_tptr
 Pointer to the buffer front. More...
 
ch_trace_event_t buffer [CH_DBG_TRACE_BUFFER_SIZE]
 Ring buffer. More...
 

Detailed Description

Trace buffer header.

Definition at line 175 of file chtrace.h.

Field Documentation

uint16_t ch_trace_buffer_t::suspended
uint16_t ch_trace_buffer_t::size

Trace buffer size (entries).

Definition at line 183 of file chtrace.h.

Referenced by _trace_init().

ch_trace_event_t* ch_trace_buffer_t::ptr

Pointer to the buffer front.

Definition at line 187 of file chtrace.h.

Referenced by _trace_halt(), _trace_init(), _trace_isr_enter(), _trace_isr_leave(), _trace_switch(), chDbgWriteTraceI(), and trace_next().

ch_trace_event_t ch_trace_buffer_t::buffer[CH_DBG_TRACE_BUFFER_SIZE]

Ring buffer.

Definition at line 191 of file chtrace.h.

Referenced by _trace_init(), and trace_next().