Lines Matching refs:evsel
105 int (*switch_event)(struct perf_sched *sched, struct perf_evsel *evsel,
108 int (*runtime_event)(struct perf_sched *sched, struct perf_evsel *evsel,
111 int (*wakeup_event)(struct perf_sched *sched, struct perf_evsel *evsel,
119 struct perf_evsel *evsel,
693 struct perf_evsel *evsel, struct perf_sample *sample, in replay_wakeup_event() argument
696 const char *comm = perf_evsel__strval(evsel, sample, "comm"); in replay_wakeup_event()
697 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in replay_wakeup_event()
701 printf("sched_wakeup event %p\n", evsel); in replay_wakeup_event()
714 struct perf_evsel *evsel, in replay_switch_event() argument
718 const char *prev_comm = perf_evsel__strval(evsel, sample, "prev_comm"), in replay_switch_event()
719 *next_comm = perf_evsel__strval(evsel, sample, "next_comm"); in replay_switch_event()
720 const u32 prev_pid = perf_evsel__intval(evsel, sample, "prev_pid"), in replay_switch_event()
721 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in replay_switch_event()
722 const u64 prev_state = perf_evsel__intval(evsel, sample, "prev_state"); in replay_switch_event()
729 printf("sched_switch event %p\n", evsel); in replay_switch_event()
950 struct perf_evsel *evsel, in latency_switch_event() argument
954 const u32 prev_pid = perf_evsel__intval(evsel, sample, "prev_pid"), in latency_switch_event()
955 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in latency_switch_event()
956 const u64 prev_state = perf_evsel__intval(evsel, sample, "prev_state"); in latency_switch_event()
1015 struct perf_evsel *evsel, in latency_runtime_event() argument
1019 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_runtime_event()
1020 const u64 runtime = perf_evsel__intval(evsel, sample, "runtime"); in latency_runtime_event()
1044 struct perf_evsel *evsel, in latency_wakeup_event() argument
1048 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_wakeup_event()
1098 struct perf_evsel *evsel, in latency_migrate_task_event() argument
1102 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_migrate_task_event()
1293 struct perf_evsel *evsel, in process_sched_wakeup_event() argument
1300 return sched->tp_handler->wakeup_event(sched, evsel, sample, machine); in process_sched_wakeup_event()
1305 static int map_switch_event(struct perf_sched *sched, struct perf_evsel *evsel, in map_switch_event() argument
1308 const u32 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in map_switch_event()
1388 struct perf_evsel *evsel, in process_sched_switch_event() argument
1394 u32 prev_pid = perf_evsel__intval(evsel, sample, "prev_pid"), in process_sched_switch_event()
1395 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in process_sched_switch_event()
1407 err = sched->tp_handler->switch_event(sched, evsel, sample, machine); in process_sched_switch_event()
1414 struct perf_evsel *evsel, in process_sched_runtime_event() argument
1421 return sched->tp_handler->runtime_event(sched, evsel, sample, machine); in process_sched_runtime_event()
1444 struct perf_evsel *evsel, in process_sched_migrate_task_event() argument
1451 return sched->tp_handler->migrate_task_event(sched, evsel, sample, machine); in process_sched_migrate_task_event()
1457 struct perf_evsel *evsel,
1464 struct perf_evsel *evsel, in perf_sched__process_tracepoint_sample() argument
1469 if (evsel->handler != NULL) { in perf_sched__process_tracepoint_sample()
1470 tracepoint_handler f = evsel->handler; in perf_sched__process_tracepoint_sample()
1471 err = f(tool, evsel, sample, machine); in perf_sched__process_tracepoint_sample()