Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/
Dbuiltin-sched.c128 struct task_desc **pid_to_task; member
333 if (sched->pid_to_task == NULL) { in register_pid()
336 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
339 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
342 sched->pid_to_task[pid_max++] = NULL; in register_pid()
345 task = sched->pid_to_task[pid]; in register_pid()
360 sched->pid_to_task[pid] = task; in register_pid()