From e231d50535794e3783b0683264615e9f7ee00548 Mon Sep 17 00:00:00 2001 From: Peter Mitsis Date: Fri, 8 Oct 2021 13:33:03 -0400 Subject: [PATCH] tracing: fix k_thread_abort tracing references Fixes undefined references to sys_port_trace_k_thread_abort_enter() and sys_port_trace_k_thread_abort_enter(). Signed-off-by: Peter Mitsis --- include/tracing/tracing.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/include/tracing/tracing.h b/include/tracing/tracing.h index db7a93efba3..dc983e8e56c 100644 --- a/include/tracing/tracing.h +++ b/include/tracing/tracing.h @@ -156,6 +156,18 @@ */ #define sys_port_trace_k_thread_abort(thread) +/** + * @brief Called when a thread enters the k_thread_abort routine + * @param thread Thread object + */ +#define sys_port_trace_k_thread_abort_enter(thread) + +/** + * @brief Called when a thread exits the k_thread_abort routine + * @param thread Thread object + */ +#define sys_port_trace_k_thread_abort_exit(thread) + /** * @brief Called when setting priority of a thread * @param thread Thread object