From 3abd3b31b7714b1d0ef0d7123de6a19205d9d50c Mon Sep 17 00:00:00 2001 From: Kai Vehmanen Date: Wed, 17 Nov 2021 10:42:37 +0200 Subject: [PATCH] Revert "Tracing: Added missing k_thread_heap_assign trace hook" This reverts commit 861f2a741f4dbace3f296b03c1974d4194af1cfb. Signed-off-by: Kai Vehmanen --- include/kernel.h | 1 - include/tracing/tracing.h | 7 ------- 2 files changed, 8 deletions(-) diff --git a/include/kernel.h b/include/kernel.h index 04f488c0419..01acc85635c 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -359,7 +359,6 @@ static inline void k_thread_heap_assign(struct k_thread *thread, struct k_heap *heap) { thread->resource_pool = heap; - SYS_PORT_TRACING_FUNC(k_thread, heap_assign, thread, heap); } #if defined(CONFIG_INIT_STACKS) && defined(CONFIG_THREAD_STACK_INFO) diff --git a/include/tracing/tracing.h b/include/tracing/tracing.h index 586b43b747c..6384505cda8 100644 --- a/include/tracing/tracing.h +++ b/include/tracing/tracing.h @@ -326,13 +326,6 @@ void sys_trace_idle(void); */ #define sys_port_trace_k_thread_sched_suspend(thread) -/** - * @brief Trace thread heap assignment - * @param thread Thread object - * @param heap Heap object - */ -#define sys_port_trace_k_thread_heap_assign(thread, heap) - /** @}c*/ /* end of subsys_tracing_apis_thread */ /**