The application may dynamically report the stack usage for every task
in the system by calling the
rtems.stack_checker_report_usage
routine.
This routine prints a table with the peak usage and stack size of
every task in the system. The following is an example of the
report generated:
ID NAME LOW HIGH AVAILABLE USED 0x04010001 IDLE 0x003e8a60 0x003e9667 2952 200 0x08010002 TA1 0x003e5750 0x003e7b57 9096 1168 0x08010003 TA2 0x003e31c8 0x003e55cf 9096 1168 0x08010004 TA3 0x003e0c40 0x003e3047 9096 1104 0xffffffff INTR 0x003ecfc0 0x003effbf 12160 128
Notice the last time. The task id is 0xffffffff and its name is "INTR". This is not actually a task, it is the interrupt stack.
Copyright © 1988-2004 OAR Corporation