From 54cb89b8d78ba7e5cd3efd45d56f87bfabe80f29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Mon, 10 Jun 2024 13:38:09 +0200 Subject: [PATCH] tracing: fix k_realloc trace functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix wrong amount of arguments for k_realloc trace functions. fixes #73996 Signed-off-by: Fin Maaß --- subsys/tracing/user/tracing_user.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subsys/tracing/user/tracing_user.h b/subsys/tracing/user/tracing_user.h index 4f6f808b99b..5b0f5fb179f 100644 --- a/subsys/tracing/user/tracing_user.h +++ b/subsys/tracing/user/tracing_user.h @@ -298,8 +298,8 @@ void sys_trace_idle(void); #define sys_port_trace_k_heap_sys_k_free_exit(heap, heap_ref) #define sys_port_trace_k_heap_sys_k_calloc_enter(heap) #define sys_port_trace_k_heap_sys_k_calloc_exit(heap, ret) -#define sys_port_trace_k_heap_sys_k_realloc_enter(heap) -#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ret) +#define sys_port_trace_k_heap_sys_k_realloc_enter(heap, ptr) +#define sys_port_trace_k_heap_sys_k_realloc_exit(heap, ptr, ret) #define sys_port_trace_k_mem_slab_init(slab, rc) #define sys_port_trace_k_mem_slab_alloc_enter(slab, timeout)