load_mon: rename low_stack -> task_stack_info & always publish it

- use uorb queue to not drop any info, only do 2 tasks per cycle
- also print a warning on low stack (which will be added to ulog)

this allows to gather statistics of each task's stack usage over time.
This commit is contained in:
Beat Küng
2017-02-03 18:22:24 +01:00
committed by Lorenz Meier
parent c02f1946eb
commit 5c2fa034da
5 changed files with 40 additions and 30 deletions
+6
View File
@@ -0,0 +1,6 @@
# stack information for a single running process
uint8 MAX_REPORT_TASK_NAME_LEN = 16
uint16 stack_free
uint8[16] task_name