#include <compiler.h>#include <cfg/os.h>#include <sys/thread.h>#include <sys/timer.h>#include <sys/event.h>#include <sys/heap.h>#include <sys/osdebug.h>Functions | |
| 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 | NutTraceOs (FILE *stream, uint8_t flags) |
| Control OS tracing. | |
| void | NutDumpHeap (FILE *stream) |
| Dump free node list of heap memory. | |
| void | NutTraceHeap (FILE *stream, uint8_t flags) |
| Control dynamic memory tracing. | |
Variables | |
| FILE * | __os_trs |
| uint_fast8_t | __os_trf |
| FILE * | __heap_trs |
| uint_fast8_t | __heap_trf |
| 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. |
References DEADBEEF, fprintf_P, fputs(), prog_char, SIGNALED, and _NUTTHREADINFO::td_name.
| void NutDumpThreadList | ( | FILE * | stream | ) |
Dump system thread list.
| stream | Pointer to a previously opened stream associated to a debug device. |
References DEADBEEF, fprintf_P, fputc(), fputs(), fputs_P, nutThreadList, NutThreadStackAvailable(), prog_char, SIGNALED, and _NUTTHREADINFO::td_name.
Referenced by NutThreadCreate().
| void NutDumpTimerList | ( | FILE * | stream | ) |
Dump system timer list.
| stream | Pointer to a previously opened stream associated to a debug device. |
References fprintf_P, fputs_P, NutEventTimeout(), NutThreadWake(), nutTimerList, prog_char, and _NUTTIMERINFO::tn_ticks.
| void NutDumpHeap | ( | FILE * | stream | ) |
Dump free node list of heap memory.
| stream | Pointer to a previously opened stream associated to a debug device. |
References fprintf_P, fputc(), heapFreeList, _HEAPNODE::hn_next, _HEAPNODE::hn_size, NutHeapAvailable, 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. |
References __heap_trf, and __heap_trs.
Referenced by main().
Referenced by NutThreadCreate(), and NutTraceOs().
Referenced by NutThreadCreate(), and NutTraceOs().
Referenced by NutTraceHeap().
Referenced by NutTraceHeap().