Home
last modified time | relevance | path

Searched refs:idle_threads (Results 1 – 1 of 1) sorted by relevance

/tools/perf/
Dbuiltin-sched.c291 static struct thread **idle_threads; variable
2221 idle_threads = zalloc(ncpu * sizeof(struct thread *)); in init_idle_threads()
2222 if (!idle_threads) in init_idle_threads()
2229 idle_threads[i] = thread__new(0, 0); in init_idle_threads()
2230 if (idle_threads[i] == NULL) in init_idle_threads()
2233 ret = init_idle_thread(idle_threads[i]); in init_idle_threads()
2245 if (idle_threads == NULL) in free_idle_threads()
2249 if ((idle_threads[i])) in free_idle_threads()
2250 thread__delete(idle_threads[i]); in free_idle_threads()
2253 free(idle_threads); in free_idle_threads()
[all …]