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
|
@ -12,7 +12,7 @@ GTEXT(__swap)
|
|||
GTEXT(z_thread_entry_wrapper)
|
||||
|
||||
/* imports */
|
||||
GTEXT(z_sys_trace_thread_switched_in)
|
||||
GTEXT(sys_trace_thread_switched_in)
|
||||
GTEXT(_k_neg_eagain)
|
||||
|
||||
/* unsigned int __swap(unsigned int key)
|
||||
|
@ -84,7 +84,7 @@ SECTION_FUNC(exception.other, __swap)
|
|||
stw r4, _thread_offset_to_retval(r11)
|
||||
|
||||
#if CONFIG_TRACING
|
||||
call z_sys_trace_thread_switched_in
|
||||
call sys_trace_thread_switched_in
|
||||
/* restore caller-saved r10 */
|
||||
movhi r10, %hi(_kernel)
|
||||
ori r10, r10, %lo(_kernel)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue