Lines Matching full:thread
20 static void set_thread_name(char *name, struct k_thread *thread) in set_thread_name() argument
22 const char *tname = k_thread_name_get(thread); in set_thread_name()
29 thread, &thread->entry); in set_thread_name()
33 void sys_trace_thread_info(struct k_thread *thread) in sys_trace_thread_info() argument
37 set_thread_name(name, thread); in sys_trace_thread_info()
41 Info.TaskID = (uint32_t)(uintptr_t)thread; in sys_trace_thread_info()
43 Info.Prio = thread->base.prio; in sys_trace_thread_info()
44 Info.StackBase = thread->stack_info.size; in sys_trace_thread_info()
45 Info.StackSize = thread->stack_info.start; in sys_trace_thread_info()
60 struct k_thread *thread; in send_task_list_cb() local
62 for (thread = _kernel.threads; thread; thread = thread->next_thread) { in send_task_list_cb()
65 if (z_is_idle_thread_object(thread)) { in send_task_list_cb()
69 set_thread_name(name, thread); in send_task_list_cb()
72 .TaskID = (uint32_t)(uintptr_t)thread, in send_task_list_cb()
74 .StackSize = thread->stack_info.size, in send_task_list_cb()
75 .StackBase = thread->stack_info.start, in send_task_list_cb()
76 .Prio = thread->base.prio, in send_task_list_cb()