zephyr/subsys/debug
Danny Oerndrup 74da439322 debug: tracing: Rewrite assert on current_thread in CPU stats module
The function sys_trace_thread_switched_out asserts in case
sys_trace_thread_switched_in was not called first. This is unintended
as tracing.h describes that out should be called before in, thus the
reverse of what the assert expects.
Fix assert on initial thread switch in, where out is called with
current_thread being NULL.

Signed-off-by: Danny Oerndrup <daor@demant.com>
2019-07-09 10:45:35 +02:00
..
tracing debug: tracing: Rewrite assert on current_thread in CPU stats module 2019-07-09 10:45:35 +02:00
CMakeLists.txt
Kconfig
Kconfig.segger
openocd.c