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:
parent
808ee1713d
commit
7f282f7928
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user