mips: tracing: add switched_out trace point
add missing switched_out trace point. Partially fixes #76057 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
b0b278503f
commit
8a824f307d
1 changed files with 4 additions and 0 deletions
|
|
@ -70,6 +70,7 @@ GTEXT(_Fault)
|
|||
|
||||
GTEXT(_k_neg_eagain)
|
||||
GTEXT(z_thread_mark_switched_in)
|
||||
GTEXT(z_thread_mark_switched_out)
|
||||
|
||||
/* exports */
|
||||
GTEXT(__isr_vec)
|
||||
|
|
@ -209,6 +210,9 @@ on_thread_stack:
|
|||
#endif /* CONFIG_PREEMPT_ENABLED */
|
||||
|
||||
reschedule:
|
||||
#ifdef CONFIG_INSTRUMENT_THREAD_SWITCHING
|
||||
jal z_thread_mark_switched_out
|
||||
#endif
|
||||
/*
|
||||
* Check if the current thread is the same as the thread on the ready Q. If
|
||||
* so, do not reschedule.
|
||||
|
|
|
|||
Loading…
Reference in a new issue