Files
Igor Knippenberg 4a3c5ed1f6 tracing: systemview: fix assertion fail on first thread switch
Segger Systemview calls k_current_get() in sys_trace_k_thread_switched_in.
During early boot, this hook is triggered while k_is_pre_kernel() is true.

This triggers an assertion failure when CONFIG_ASSERT is enabled.

Add a guard to ignore the thread switch event if it is called pre-kernel.

Signed-off-by: Igor Knippenberg <knippenberg@filics.eu>
2025-12-30 17:40:05 +01:00
..
2025-12-09 22:40:13 -05:00
2025-12-09 22:40:13 -05:00
2025-12-09 22:40:13 -05:00
2025-10-25 15:59:19 +03:00