ChibiOS
21.6.0
|
Trace buffer record. More...
#include <chtrace.h>
Data Fields | |
uint32_t | type:3 |
Record type. More... | |
uint32_t | state:5 |
Switched out thread state. More... | |
uint32_t | rtstamp:24 |
Accurate time stamp. More... | |
systime_t | time |
System time stamp of the switch event. More... | |
thread_t * | ntp |
Switched in thread. More... | |
void * | wtobjp |
Object where going to sleep. More... | |
struct { | |
thread_t * ntp | |
Switched in thread. More... | |
void * wtobjp | |
Object where going to sleep. More... | |
} | sw |
Structure representing a context switch. More... | |
thread_t * | tp |
Thread made ready. More... | |
msg_t | msg |
Ready message. More... | |
struct { | |
thread_t * tp | |
Thread made ready. More... | |
msg_t msg | |
Ready message. More... | |
} | rdy |
Structure representing a thread becoming ready. More... | |
const char * | name |
ISR function name taken using func . More... | |
struct { | |
const char * name | |
ISR function name taken using func . More... | |
} | isr |
Structure representing an ISR enter. More... | |
const char * | reason |
Halt error string. More... | |
struct { | |
const char * reason | |
Halt error string. More... | |
} | halt |
Structure representing an halt. More... | |
void * | up1 |
Trace user parameter 1. More... | |
void * | up2 |
Trace user parameter 2. More... | |
struct { | |
void * up1 | |
Trace user parameter 1. More... | |
void * up2 | |
Trace user parameter 2. More... | |
} | user |
User trace structure. More... | |
uint32_t trace_event_t::rtstamp |
Accurate time stamp.
PORT_SUPPORTS_RT
else it is set to zero. Definition at line 122 of file chtrace.h.
Referenced by trace_next().
systime_t trace_event_t::time |
System time stamp of the switch event.
Definition at line 126 of file chtrace.h.
Referenced by trace_next().
struct { ... } trace_event_t::sw |
Structure representing a context switch.
struct { ... } trace_event_t::rdy |
Structure representing a thread becoming ready.
const char* trace_event_t::name |
struct { ... } trace_event_t::isr |
Structure representing an ISR enter.
struct { ... } trace_event_t::halt |
Structure representing an halt.
struct { ... } trace_event_t::user |
User trace structure.