From 797174350dce951ff2d7cf5af682ad4e5d2e2071 Mon Sep 17 00:00:00 2001 From: Nicholas Lowell Date: Fri, 31 Jan 2020 14:29:41 -0500 Subject: [PATCH] debug: tracing: Remove unneeded prototypes The initial prototypes for sys_trace_* are not needed because they are either declared in the specified tracing header or as empty #defines further in the header. These actually cause linkage conflicts if CTF tracing is attempted with C++ projects. Signed-off-by: Nicholas Lowell --- include/debug/tracing.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/include/debug/tracing.h b/include/debug/tracing.h index 127b4f700a9..124cd6aece6 100644 --- a/include/debug/tracing.h +++ b/include/debug/tracing.h @@ -18,15 +18,6 @@ #define SYS_TRACE_ID_SEMA_GIVE (5u + SYS_TRACE_ID_OFFSET) #define SYS_TRACE_ID_SEMA_TAKE (6u + SYS_TRACE_ID_OFFSET) -#ifdef CONFIG_TRACING -void sys_trace_idle(void); -void sys_trace_isr_enter(void); -void sys_trace_isr_exit(void); -void sys_trace_isr_exit_to_scheduler(void); -void sys_trace_thread_switched_in(void); -void sys_trace_thread_switched_out(void); -#endif - #ifdef CONFIG_SEGGER_SYSTEMVIEW #include "tracing_sysview.h"