Lines Matching refs:cpu
97 unsigned int cpu; member
109 unsigned int cpu = ud->cpu; in thread_analyze_cb() local
155 if (k_thread_runtime_stats_cpu_get(cpu, &rt_stats_all) != 0) { in thread_analyze_cb()
204 void thread_analyzer_run(thread_analyzer_cb cb, unsigned int cpu) in thread_analyzer_run() argument
206 struct ta_cb_user_data ud = { .cb = cb, .cpu = cpu }; in thread_analyzer_run()
210 k_thread_foreach_unlocked_filter_by_cpu(cpu, thread_analyze_cb, &ud); in thread_analyzer_run()
216 k_thread_foreach_filter_by_cpu(cpu, thread_analyze_cb, &ud); in thread_analyzer_run()
224 isr_stack(cpu); in thread_analyzer_run()
231 void thread_analyzer_print(unsigned int cpu) in thread_analyzer_print() argument
235 cpu); in thread_analyzer_print()
239 thread_analyzer_run(thread_print_cb, cpu); in thread_analyzer_print()
246 unsigned int cpu = IS_ENABLED(CONFIG_THREAD_ANALYZER_AUTO_SEPARATE_CORES) ? in thread_analyzer_auto() local
250 thread_analyzer_print(cpu); in thread_analyzer_auto()