Lines Matching refs:perf_sched

144 struct perf_sched;
147 int (*switch_event)(struct perf_sched *sched, struct evsel *evsel,
150 int (*runtime_event)(struct perf_sched *sched, struct evsel *evsel,
153 int (*wakeup_event)(struct perf_sched *sched, struct evsel *evsel,
157 int (*fork_event)(struct perf_sched *sched, union perf_event *event,
160 int (*migrate_task_event)(struct perf_sched *sched,
181 struct perf_sched { struct
306 static void burn_nsecs(struct perf_sched *sched, u64 nsecs) in burn_nsecs()
325 static void calibrate_run_measurement_overhead(struct perf_sched *sched) in calibrate_run_measurement_overhead()
342 static void calibrate_sleep_measurement_overhead(struct perf_sched *sched) in calibrate_sleep_measurement_overhead()
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()
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()
494 static void print_task_traces(struct perf_sched *sched) in print_task_traces()
506 static void add_cross_task_wakeups(struct perf_sched *sched) in add_cross_task_wakeups()
521 static void perf_sched__process_event(struct perf_sched *sched, in perf_sched__process_event()
562 static int self_open_counters(struct perf_sched *sched, unsigned long cur_task) in self_open_counters()
617 struct perf_sched *sched;
625 struct perf_sched *sched = parms->sched; in thread_func()
662 static void create_tasks(struct perf_sched *sched) in create_tasks()
693 static void destroy_tasks(struct perf_sched *sched) in destroy_tasks()
714 static void wait_for_tasks(struct perf_sched *sched) in wait_for_tasks()
767 static void run_one_test(struct perf_sched *sched) in run_one_test()
815 static void test_calibrations(struct perf_sched *sched) in test_calibrations()
833 replay_wakeup_event(struct perf_sched *sched, in replay_wakeup_event()
854 static int replay_switch_event(struct perf_sched *sched, in replay_switch_event()
900 static int replay_fork_event(struct perf_sched *sched, in replay_fork_event()
1039 static int thread_atoms_insert(struct perf_sched *sched, struct thread *thread) in thread_atoms_insert()
1128 static int latency_switch_event(struct perf_sched *sched, in latency_switch_event()
1198 static int latency_runtime_event(struct perf_sched *sched, in latency_runtime_event()
1233 static int latency_wakeup_event(struct perf_sched *sched, in latency_wakeup_event()
1294 static int latency_migrate_task_event(struct perf_sched *sched, in latency_migrate_task_event()
1344 static void output_lat_thread(struct perf_sched *sched, struct work_atoms *work_list) in output_lat_thread()
1485 static void perf_sched__sort_lat(struct perf_sched *sched) in perf_sched__sort_lat()
1511 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_wakeup_event()
1534 map__findnew_thread(struct perf_sched *sched, struct machine *machine, pid_t pid, pid_t tid) in map__findnew_thread()
1551 static int map_switch_event(struct perf_sched *sched, struct evsel *evsel, in map_switch_event()
1701 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_switch_event()
1727 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_runtime_event()
1740 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_sched__process_fork_event()
1757 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in process_sched_migrate_task_event()
1817 static int perf_sched__read_events(struct perf_sched *sched) in perf_sched__read_events()
1957 static void timehist_header(struct perf_sched *sched) in timehist_header()
2028 static void timehist_print_sample(struct perf_sched *sched, in timehist_print_sample()
2174 static void save_task_callchain(struct perf_sched *sched, in save_task_callchain()
2317 static void save_idle_callchain(struct perf_sched *sched, in save_idle_callchain()
2327 static struct thread *timehist_get_thread(struct perf_sched *sched, in timehist_get_thread()
2374 static bool timehist_skip_sample(struct perf_sched *sched, in timehist_skip_sample()
2397 static void timehist_print_wakeup_event(struct perf_sched *sched, in timehist_print_wakeup_event()
2446 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in timehist_sched_wakeup_event()
2471 static void timehist_print_migration_event(struct perf_sched *sched, in timehist_print_migration_event()
2530 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in timehist_migrate_task_event()
2558 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in timehist_sched_change_event()
2744 struct perf_sched *sched;
2843 static void timehist_print_summary(struct perf_sched *sched, in timehist_print_summary()
2963 struct perf_sched *sched = container_of(tool, struct perf_sched, tool); in perf_timehist__process_sample()
2981 static int timehist_check_attr(struct perf_sched *sched, in timehist_check_attr()
3004 static int perf_sched__timehist(struct perf_sched *sched) in perf_sched__timehist()
3120 static void print_bad_events(struct perf_sched *sched) in print_bad_events()
3183 static void perf_sched__merge_lat(struct perf_sched *sched) in perf_sched__merge_lat()
3198 static int perf_sched__lat(struct perf_sched *sched) in perf_sched__lat()
3237 static int setup_map_cpus(struct perf_sched *sched) in setup_map_cpus()
3262 static int setup_color_pids(struct perf_sched *sched) in setup_color_pids()
3279 static int setup_color_cpus(struct perf_sched *sched) in setup_color_cpus()
3296 static int perf_sched__map(struct perf_sched *sched) in perf_sched__map()
3314 static int perf_sched__replay(struct perf_sched *sched) in perf_sched__replay()
3352 static void setup_sorting(struct perf_sched *sched, const struct option *options, in setup_sorting()
3461 struct perf_sched sched = { in cmd_sched()