Skip to content

Commit d01edb1

Browse files
Freey0fabiobaltieri
authored andcommitted
tracing: Fix k_mem_slab_free tracing systemview
Fix k_mem_slabe_free tracing error. Signed-off-by: WenBin Zhang <[email protected]>
1 parent 1198d78 commit d01edb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/tracing/sysview/tracing_sysview.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@ void sys_trace_thread_info(struct k_thread *thread);
631631
#define sys_port_trace_k_mem_slab_free_enter(slab) \
632632
SEGGER_SYSVIEW_RecordU32(TID_MSLAB_FREE, (uint32_t)(uintptr_t)slab)
633633

634-
#define sys_port_trace_k_mem_slab_free_exit(slab) SEGGER_SYSVIEW_RecordEndCall(TID_MSLAB_ALLOC)
634+
#define sys_port_trace_k_mem_slab_free_exit(slab) SEGGER_SYSVIEW_RecordEndCall(TID_MSLAB_FREE)
635635

636636
#define sys_port_trace_k_timer_init(timer) \
637637
SEGGER_SYSVIEW_RecordU32(TID_TIMER_INIT, (uint32_t)(uintptr_t)timer)

0 commit comments

Comments
 (0)