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:
Mrinal Sen 2019-09-19 09:25:19 +02:00 committed by Anas Nashif
commit 1246cb8cef
25 changed files with 70 additions and 141 deletions

View file

@ -46,7 +46,7 @@ SECTION_FUNC(TEXT, __pendsv)
#ifdef CONFIG_TRACING
/* Register the context switch */
push {r0, lr}
bl z_sys_trace_thread_switched_out
bl sys_trace_thread_switched_out
#if defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE)
pop {r0, r1}
mov lr, r1
@ -319,7 +319,7 @@ _thread_irq_disabled:
#ifdef CONFIG_TRACING
/* Register the context switch */
push {r0, lr}
bl z_sys_trace_thread_switched_in
bl sys_trace_thread_switched_in
#if defined(CONFIG_ARMV6_M_ARMV8_M_BASELINE)
pop {r0, r1}
mov lr, r1