|
Defines |
#define | TRACE_MODE_FIRST 0 |
#define | TRACE_MODE_OFF 0 |
#define | TRACE_MODE_CIRCULAR 1 |
#define | TRACE_MODE_ONESHOT 2 |
#define | TRACE_MODE_LAST 2 |
#define | TRACE_MODE_DEFAULT TRACE_MODE_CIRCULAR |
#define | TRACE_SIZE_DEFAULT 500 |
#define | TRACE_TAG_FIRST 0 |
#define | TRACE_TAG_CRITICAL_FIRST 0 |
#define | TRACE_TAG_CRITICAL_ENTER 0 |
#define | TRACE_TAG_CRITICAL_EXIT 1 |
#define | TRACE_TAG_CRITICAL_LAST 1 |
#define | TRACE_TAG_THREAD_FIRST 2 |
#define | TRACE_TAG_THREAD_YIELD 2 |
#define | TRACE_TAG_THREAD_SETPRIO 3 |
#define | TRACE_TAG_THREAD_WAIT 4 |
#define | TRACE_TAG_THREAD_SLEEP 5 |
#define | TRACE_TAG_THREAD_LAST 5 |
#define | TRACE_TAG_INTERRUPT_FIRST 6 |
#define | TRACE_TAG_INTERRUPT_ENTER 6 |
#define | TRACE_TAG_INTERRUPT_EXIT 7 |
#define | TRACE_TAG_INTERRUPT_LAST 7 |
#define | TRACE_TAG_START 8 |
#define | TRACE_TAG_STOP 9 |
#define | TRACE_TAG_USER 10 |
#define | TRACE_TAG_LAST 10 |
#define | TRACE_MAX_USER 10 |
#define | TRACE_INT_FIRST 0 |
#define | TRACE_INT_UART0_CTS 0 |
#define | TRACE_INT_UART0_RXCOMPL 1 |
#define | TRACE_INT_UART0_TXEMPTY 2 |
#define | TRACE_INT_UART1_CTS 3 |
#define | TRACE_INT_UART1_RXCOMPL 4 |
#define | TRACE_INT_UART1_TXEMPTY 5 |
#define | TRACE_INT_TIMER0_OVERFL 6 |
#define | TRACE_INT_TIMER1_OVERFL 7 |
#define | TRACE_INT_SUART_TIMER 8 |
#define | TRACE_INT_SUART_RX 9 |
#define | TRACE_INT_LAST 9 |
#define | TRACE_ADD_ITEM(TAG, PC) |
#define | TRACE_ADD_ITEM_PC(TAG) TRACE_ADD_ITEM(TAG,NutTraceGetPC()) |
Typedefs |
typedef _t_traceitem | t_traceitem |
| Item in the trace buffer.
|
Functions |
int | NutTraceInit (int size, char mode) |
void | NutTraceStop (void) |
void | NutTracePrint (int size) |
void | NutTraceTerminal (char *arg) |
int | NutTraceGetPC (void) |
void | NutTraceClear (void) |
void | NutTraceMaskPrint (void) |
void | NutTraceMaskClear (int tag) |
void | NutTraceMaskSet (int tag) |
void | NutTraceStatusPrint (void) |
int | NutTraceRegisterUserTag (int tag, char *tag_string) |
Variables |
u_int | micros_high |
| Upper 16 bits of microseconds clock, incremented on timer 1 overflow interrupts.
|
t_traceitem * | trace_items |
| Trace buffer, initialized by NutTraceInit.
|
t_traceitem * | trace_current |
| Pointer to the current item in the trace buffer.
|
int | trace_head |
| Current index in the trace buffer.
|
int | trace_size |
| Size of the trace buffer.
|
char | trace_isfull |
| Flag indicating whether all items in the trace buffer contain valid information.
|
char | trace_mode |
| Current state of the tracing facility.
|
char | trace_mask [TRACE_TAG_LAST+1] |
| Mask to individually disable tracing of specific event types.
|