logger: add watchdog that boosts its priority when the writer is blocked for >1s

This is to guard against busy-looping tasks, so that we at least have a
log. In case the watchdog is triggered, it also logs CPU load of all
tasks.
This commit is contained in:
Beat Küng
2018-05-18 22:23:32 +02:00
committed by Lorenz Meier
parent 401eefd39b
commit dd30012b27
7 changed files with 285 additions and 0 deletions
+1
View File
@@ -43,6 +43,7 @@ px4_add_module(
log_writer.cpp
log_writer_file.cpp
log_writer_mavlink.cpp
watchdog.cpp
DEPENDS
version
)