Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
traceheader
Structure that describes header information
Synopsis:
#include <traceparser.h>
struct traceheader {
struct tracebuf * next;
uint32_t flags;
uint32_t reserved1;
uint32_t num_events;
struct timeval start;
struct timeval end;
traceevent_t * begin_ptr;
traceevent_t * end_ptr;
traceevent_t volatile * head_ptr;
traceevent_t volatile * tail_ptr;
uint32_t max_events;
struct intrspin spin;
paddr_t baseaddr;
uint32_t reserved2;
};
Library:
libtraceparser
Description:
The traceheader structure describes @@@. The structure includes the following members:
- next
- The size of the entire tracebuffer @@@size or actual?.
- flags
- Opaque variable; version information, event mask.
- reserved1
- Opaque variable; not yet used.
- num_events
- The number of events in the buffer.
- start
- Start of the trace.
- end
- End of the trace.
- begin_ptr
- @@@.
- end_ptr
- @@@.
- head_ptr
- @@@.
- tail_ptr
- @@@.
- max_events
- The maximum number of events that occur before the buffer flushes.
- spin
- Spin lock.
- base_addr
- The base address of the tracebuffer.
- reserved2
- Opaque variable; not yet used.
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)