Skip to content

Commit f215361

Browse files
peter-mitsiscfriedt
authored andcommitted
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 <[email protected]>
1 parent 7e7d71e commit f215361

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

include/tracing/tracing.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,18 @@
156156
*/
157157
#define sys_port_trace_k_thread_abort(thread)
158158

159+
/**
160+
* @brief Called when a thread enters the k_thread_abort routine
161+
* @param thread Thread object
162+
*/
163+
#define sys_port_trace_k_thread_abort_enter(thread)
164+
165+
/**
166+
* @brief Called when a thread exits the k_thread_abort routine
167+
* @param thread Thread object
168+
*/
169+
#define sys_port_trace_k_thread_abort_exit(thread)
170+
159171
/**
160172
* @brief Called when setting priority of a thread
161173
* @param thread Thread object

0 commit comments

Comments
 (0)