Home
last modified time | relevance | path

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

/linux-5.19.10/tools/perf/
Dbuiltin-sched.c184 struct task_desc **pid_to_task; member
452 if (sched->pid_to_task == NULL) { in register_pid()
455 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
458 BUG_ON((sched->pid_to_task = realloc(sched->pid_to_task, (pid + 1) * in register_pid()
461 sched->pid_to_task[pid_max++] = NULL; in register_pid()
464 task = sched->pid_to_task[pid]; in register_pid()
479 sched->pid_to_task[pid] = task; in register_pid()