Commit 7f282f79 authored by Anas Nashif's avatar Anas Nashif Committed by Daniel DeGrasse
Browse files

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: default avatarAnas Nashif <anas.nashif@intel.com>
parent 808ee171
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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