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:
parent
92b299ff28
commit
af2d83e66f
1 changed files with 10 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue