Go to the source code of this file.
Functions | |
void | NutTraceOs (FILE *stream, uint8_t flags) |
Control OS tracing. | |
void | NutDumpThreadQueue (FILE *stream, NUTTHREADINFO *tdp) |
Dump system queue contents. | |
void | NutDumpThreadList (FILE *stream) |
Dump system thread list. | |
void | NutDumpTimerList (FILE *stream) |
Dump system timer list. | |
void | NutTraceHeap (FILE *stream, uint8_t flags) |
Control dynamic memory tracing. | |
void | NutDumpHeap (FILE *stream) |
Dump free node list of heap memory. | |
Variables | |
FILE * | __os_trs |
uint_fast8_t | __os_trf |
FILE * | __heap_trs |
uint_fast8_t | __heap_trf |
Control OS tracing.
stream | Pointer to a previously opened stream associated to a debug device or null to disable trace output. | |
flags | Flags to enable specific traces. |
Definition at line 246 of file osdebug.c.
References __os_trf, and __os_trs.
Referenced by main().
void NutDumpThreadQueue | ( | FILE * | stream, | |
NUTTHREADINFO * | tdp | |||
) |
Dump system queue contents.
stream | Pointer to a previously opened stream associated to a debug device. | |
tdp | Pointer to the queue. |
Definition at line 116 of file osdebug.c.
References DEADBEEF, fprintf_P, fputs(), prog_char, and SIGNALED.
void NutDumpThreadList | ( | FILE * | stream | ) |
Dump system thread list.
stream | Pointer to a previously opened stream associated to a debug device. |
Definition at line 155 of file osdebug.c.
References DEADBEEF, fprintf_P, fputc(), fputs(), fputs_P, nutThreadList, prog_char, and SIGNALED.
Referenced by NutThreadCreate().
void NutDumpTimerList | ( | FILE * | stream | ) |
Dump system timer list.
stream | Pointer to a previously opened stream associated to a debug device. |
Definition at line 205 of file osdebug.c.
References fprintf_P, fputs_P, NutEventTimeout(), NutThreadWake(), nutTimerList, and prog_char.
Control dynamic memory tracing.
stream | Pointer to a previously opened stream or null to disable trace output. | |
flags | Flags to enable specific traces. |
Definition at line 299 of file osdebug.c.
References __heap_trf, and __heap_trs.
Referenced by main().
void NutDumpHeap | ( | FILE * | stream | ) |
Dump free node list of heap memory.
stream | Pointer to a previously opened stream associated to a debug device. |
Definition at line 262 of file osdebug.c.
References fprintf_P, fputc(), heapFreeList, NutHeapAvailable, and prog_char.