Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-sched.c287 static struct thread **idle_threads; variable
2213 idle_threads = zalloc(ncpu * sizeof(struct thread *)); in init_idle_threads()
2214 if (!idle_threads) in init_idle_threads()
2221 idle_threads[i] = thread__new(0, 0); in init_idle_threads()
2222 if (idle_threads[i] == NULL) in init_idle_threads()
2225 ret = init_idle_thread(idle_threads[i]); in init_idle_threads()
2237 if (idle_threads == NULL) in free_idle_threads()
2241 if ((idle_threads[i])) in free_idle_threads()
2242 thread__delete(idle_threads[i]); in free_idle_threads()
2245 free(idle_threads); in free_idle_threads()
[all …]