Lines Matching refs:task_desc
60 struct task_desc { struct
92 struct task_desc *wakee; argument
185 struct task_desc **pid_to_task;
186 struct task_desc **tasks;
361 get_new_event(struct task_desc *task, u64 timestamp) in get_new_event()
380 static struct sched_atom *last_event(struct task_desc *task) in last_event()
388 static void add_sched_event_run(struct perf_sched *sched, struct task_desc *task, in add_sched_event_run()
411 static void add_sched_event_wakeup(struct perf_sched *sched, struct task_desc *task, in add_sched_event_wakeup()
412 u64 timestamp, struct task_desc *wakee) in add_sched_event_wakeup()
438 static void add_sched_event_sleep(struct perf_sched *sched, struct task_desc *task, in add_sched_event_sleep()
448 static struct task_desc *register_pid(struct perf_sched *sched, in register_pid()
451 struct task_desc *task; in register_pid()
457 BUG_ON((sched->pid_to_task = calloc(pid_max, sizeof(struct task_desc *))) == NULL); in register_pid()
461 sizeof(struct task_desc *))) == NULL); in register_pid()
483 sched->tasks = realloc(sched->tasks, sched->nr_tasks * sizeof(struct task_desc *)); in register_pid()
496 struct task_desc *task; in print_task_traces()
508 struct task_desc *task1, *task2; in add_cross_task_wakeups()
616 struct task_desc *task;
624 struct task_desc *this_task = parms->task; in thread_func()
666 struct task_desc *task; in create_tasks()
697 struct task_desc *task; in destroy_tasks()
719 struct task_desc *task; in wait_for_tasks()
839 struct task_desc *waker, *wakee; in replay_wakeup_event()
864 struct task_desc *prev, __maybe_unused *next; in replay_switch_event()