zephyr/subsys/debug/tracing
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
..
ctf license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
include subsys tracing: remove (uintptr_t) casts in snprintk and use %p 2019-07-07 08:58:11 -04:00
sysview
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
cpu_stats.c debug: tracing: Rewrite assert on current_thread in CPU stats module 2019-07-09 10:45:35 +02:00
sysview_config.c subsystems: Rename reserved function names 2019-04-03 17:31:00 -04:00
sysview.c subsys tracing: remove (uintptr_t) casts in snprintk and use %p 2019-07-07 08:58:11 -04:00