tracing: Add missing isr_exit() for posix arch boards

For the native_posix board, and for the nrf52_bsim boards,
the sys_trace_irs_exit() call was missing. Add it.

Relates to #13357

Signed-off-by: Alberto Escolar Piedras <alpi@oticon.com>
This commit is contained in:
Alberto Escolar Piedras 2019-02-14 12:07:13 +01:00 committed by Anas Nashif
commit 143552550f
2 changed files with 4 additions and 0 deletions

View file

@ -57,6 +57,8 @@ static inline void vector_to_irq(int irq_nbr, int *may_swap)
*may_swap = 1;
}
}
sys_trace_isr_exit();
/* _int_latency_stop(); */
}

View file

@ -111,6 +111,8 @@ static inline void vector_to_irq(int irq_nbr, int *may_swap)
*may_swap = 1;
}
}
sys_trace_isr_exit();
/* _int_latency_stop(); */
bs_trace_raw_time(7, "Irq %i (%s) ended\n", irq_nbr, irqnames[irq_nbr]);