xtensa: tracing: instrument thread switching

Add missing call to thread_switched_in for the purpose of tracing.

Fixes zephyrproject-rtos/zephyr#76057

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2025-07-05 22:22:38 -04:00 committed by Daniel DeGrasse
parent 808ee1713d
commit 7f282f7928

View File

@ -606,6 +606,10 @@ _excint_noflush_\@:
/* Restore A1 stack pointer from "next" handle. */
mov a1, a6
#ifdef CONFIG_INSTRUMENT_THREAD_SWITCHING
call4 z_thread_mark_switched_in
#endif
_restore_\@:
j _restore_context
.endm