Lines Matching refs:perf_sched
100 struct perf_sched;
103 int (*switch_event)(struct perf_sched *sched, struct perf_evsel *evsel,
106 int (*runtime_event)(struct perf_sched *sched, struct perf_evsel *evsel,
109 int (*wakeup_event)(struct perf_sched *sched, struct perf_evsel *evsel,
113 int (*fork_event)(struct perf_sched *sched, union perf_event *event,
116 int (*migrate_task_event)(struct perf_sched *sched,
122 struct perf_sched { struct
183 static void burn_nsecs(struct perf_sched *sched, u64 nsecs) in burn_nsecs() argument
202 static void calibrate_run_measurement_overhead(struct perf_sched *sched) in calibrate_run_measurement_overhead()
219 static void calibrate_sleep_measurement_overhead(struct perf_sched *sched) in calibrate_sleep_measurement_overhead()
265 static void add_sched_event_run(struct perf_sched *sched, struct task_desc *task, in add_sched_event_run()
288 static void add_sched_event_wakeup(struct perf_sched *sched, struct task_desc *task, in add_sched_event_wakeup()
315 static void add_sched_event_sleep(struct perf_sched *sched, struct task_desc *task, in add_sched_event_sleep()
325 static struct task_desc *register_pid(struct perf_sched *sched, in register_pid()
360 static void print_task_traces(struct perf_sched *sched) in print_task_traces()
372 static void add_cross_task_wakeups(struct perf_sched *sched) in add_cross_task_wakeups()
387 static void perf_sched__process_event(struct perf_sched *sched, in perf_sched__process_event()
459 struct perf_sched *sched;
466 struct perf_sched *sched = parms->sched; in thread_func()
507 static void create_tasks(struct perf_sched *sched) in create_tasks()
537 static void wait_for_tasks(struct perf_sched *sched) in wait_for_tasks()
590 static void run_one_test(struct perf_sched *sched) in run_one_test()
636 static void test_calibrations(struct perf_sched *sched) in test_calibrations()
654 replay_wakeup_event(struct perf_sched *sched, in replay_wakeup_event()
675 static int replay_switch_event(struct perf_sched *sched, in replay_switch_event()
721 static int replay_fork_event(struct perf_sched *sched, in replay_fork_event()
823 static int thread_atoms_insert(struct perf_sched *sched, struct thread *thread) in thread_atoms_insert()
911 static int latency_switch_event(struct perf_sched *sched, in latency_switch_event()
976 static int latency_runtime_event(struct perf_sched *sched, in latency_runtime_event()
1005 static int latency_wakeup_event(struct perf_sched *sched, in latency_wakeup_event()
1058 static int latency_migrate_task_event(struct perf_sched *sched, in latency_migrate_task_event()
1103 static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list) in output_lat_thread()
1237 static void perf_sched__sort_lat(struct perf_sched *sched) in perf_sched__sort_lat()
1258 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event()
1266 static int map_switch_event(struct perf_sched *sched, struct perf_evsel *evsel, in map_switch_event()
1350 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event()
1376 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event()
1389 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event()
1406 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_migrate_task_event()
1438 static int perf_sched__read_events(struct perf_sched *sched, in perf_sched__read_events()
1483 static void print_bad_events(struct perf_sched *sched) in print_bad_events()
1513 static int perf_sched__lat(struct perf_sched *sched) in perf_sched__lat()
1553 static int perf_sched__map(struct perf_sched *sched) in perf_sched__map()
1564 static int perf_sched__replay(struct perf_sched *sched) in perf_sched__replay()
1599 static void setup_sorting(struct perf_sched *sched, const struct option *options, in setup_sorting()
1655 static struct perf_sched sched = {