debug: tracing: Remove unneeded abstraction
Various C and Assembly modules make function calls to z_sys_trace_*. These merely call corresponding functions sys_trace_*. This commit is to simplify these by making direct function calls to the sys_trace_* functions from these modules. Subsequently, the z_sys_trace_* functions are removed. Signed-off-by: Mrinal Sen <msen@oticon.com>
This commit is contained in:
parent
15724c6cdc
commit
1246cb8cef
25 changed files with 70 additions and 141 deletions
|
@ -125,14 +125,14 @@ extern void z_arch_isr_direct_header(void);
|
|||
extern void _IntExit(void);
|
||||
|
||||
#ifdef CONFIG_TRACING
|
||||
extern void z_sys_trace_isr_exit(void);
|
||||
extern void sys_trace_isr_exit(void);
|
||||
#endif
|
||||
|
||||
static inline void z_arch_isr_direct_footer(int maybe_swap)
|
||||
{
|
||||
|
||||
#ifdef CONFIG_TRACING
|
||||
z_sys_trace_isr_exit();
|
||||
sys_trace_isr_exit();
|
||||
#endif
|
||||
if (maybe_swap) {
|
||||
_IntExit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue