Commit 599aac42 authored by Anas Nashif's avatar Anas Nashif
Browse files

tracing: ctf: fix arguments to ctf_top_thread_info



Arguments where reveresed, first we expect the base then the stack size.

Signed-off-by: default avatarAnas Nashif <anas.nashif@intel.com>
parent 0ad67650
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -53,8 +53,8 @@ void sys_trace_thread_create(struct k_thread *thread)
#if defined(CONFIG_THREAD_STACK_INFO)
	ctf_top_thread_info(
		(u32_t)(uintptr_t)thread,
		thread->stack_info.size,
		thread->stack_info.start
		thread->stack_info.start,
		thread->stack_info.size
		);
#endif
}