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
+1 -1
View File
@@ -558,7 +558,7 @@ void Logger::add_default_topics()
add_topic("cpuload");
add_topic("gps_dump"); //this will only be published if GPS_DUMP_COMM is set
add_topic("sensor_preflight");
add_topic("low_stack");
add_topic("task_stack_info");
/* for estimator replay (need to be at full rate) */
add_topic("sensor_combined");