Home
last modified time | relevance | path

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

/linux/tools/perf/
H A Dbuiltin-sched.c169 struct task_desc **pid_to_task; member
447 if (sched->pid_to_task == NULL) { in register_pid()
450 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
453 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
456 sched->pid_to_task[pid_max++] = NULL; in register_pid()
459 task = sched->pid_to_task[pid]; in register_pid()
474 sched->pid_to_task[pid] = task; in register_pid()