tracing: riscv: Add missing invoke of sys_trace_isr_exit()
Change suggested by @WealianLiao in #41995. Signed-off-by: Robert Szczepanski <rszczepanski@antmicro.com>
This commit is contained in:
parent
87191eba31
commit
8647e2f63c
1 changed files with 5 additions and 0 deletions
|
@ -91,6 +91,7 @@ GTEXT(z_riscv_thread_start)
|
|||
|
||||
#ifdef CONFIG_TRACING
|
||||
GTEXT(sys_trace_isr_enter)
|
||||
GTEXT(sys_trace_isr_exit)
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_USERSPACE
|
||||
|
@ -492,6 +493,10 @@ on_irq_stack:
|
|||
/* Call ISR function */
|
||||
jalr ra, t1, 0
|
||||
|
||||
#ifdef CONFIG_TRACING_ISR
|
||||
call sys_trace_isr_exit
|
||||
#endif
|
||||
|
||||
irq_done:
|
||||
/* Decrement _current_cpu->nested */
|
||||
lw t2, ___cpu_t_nested_OFFSET(s0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue