tracing: ctf: fix arguments to ctf_top_thread_info

Arguments in sys_trace_thread_info were reversed.
The order should be base then size.

Signed-off-by: Nicholas Lowell <nlowell@lexmark.com>
This commit is contained in:
Nicholas Lowell 2020-01-31 14:51:48 -05:00 committed by Anas Nashif
parent 797174350d
commit cb257df27c

View file

@ -89,8 +89,8 @@ void sys_trace_thread_info(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
}