Home
last modified time | relevance | path

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

/tools/perf/
Dbuiltin-sched.c129 struct task_desc **pid_to_task; member
335 if (sched->pid_to_task == NULL) { in register_pid()
338 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
341 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
344 sched->pid_to_task[pid_max++] = NULL; in register_pid()
347 task = sched->pid_to_task[pid]; in register_pid()
362 sched->pid_to_task[pid] = task; in register_pid()