tracing: add missing macros needed for k_thread_foreach

Add those dummy tracing functions to get the test to build when using
k_thread_foreach.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-04-11 13:37:13 -04:00
commit af2d83e66f

View file

@ -512,3 +512,13 @@ void sys_trace_syscall_exit(uint32_t syscall_id, const char *syscall_name)
{
TRACING_STRING("%s: %s (%u) exit\n", __func__, syscall_name, syscall_id);
}
void sys_trace_k_thread_foreach_unlocked_enter(k_thread_user_cb_t user_cb, void *data)
{
TRACING_STRING("%s: %p (%p) enter\n", __func__, user_cb, data);
}
void sys_trace_k_thread_foreach_unlocked_exit(k_thread_user_cb_t user_cb, void *data)
{
TRACING_STRING("%s: %p (%p) exit\n", __func__, user_cb, data);
}