Lines Matching refs:evsel
106 int (*switch_event)(struct perf_sched *sched, struct perf_evsel *evsel,
109 int (*runtime_event)(struct perf_sched *sched, struct perf_evsel *evsel,
112 int (*wakeup_event)(struct perf_sched *sched, struct perf_evsel *evsel,
120 struct perf_evsel *evsel,
695 struct perf_evsel *evsel, struct perf_sample *sample, in replay_wakeup_event() argument
698 const char *comm = perf_evsel__strval(evsel, sample, "comm"); in replay_wakeup_event()
699 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in replay_wakeup_event()
703 printf("sched_wakeup event %p\n", evsel); in replay_wakeup_event()
716 struct perf_evsel *evsel, in replay_switch_event() argument
720 const char *prev_comm = perf_evsel__strval(evsel, sample, "prev_comm"), in replay_switch_event()
721 *next_comm = perf_evsel__strval(evsel, sample, "next_comm"); in replay_switch_event()
722 const u32 prev_pid = perf_evsel__intval(evsel, sample, "prev_pid"), in replay_switch_event()
723 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in replay_switch_event()
724 const u64 prev_state = perf_evsel__intval(evsel, sample, "prev_state"); in replay_switch_event()
731 printf("sched_switch event %p\n", evsel); in replay_switch_event()
955 struct perf_evsel *evsel, in latency_switch_event() argument
959 const u32 prev_pid = perf_evsel__intval(evsel, sample, "prev_pid"), in latency_switch_event()
960 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in latency_switch_event()
961 const u64 prev_state = perf_evsel__intval(evsel, sample, "prev_state"); in latency_switch_event()
1025 struct perf_evsel *evsel, in latency_runtime_event() argument
1029 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_runtime_event()
1030 const u64 runtime = perf_evsel__intval(evsel, sample, "runtime"); in latency_runtime_event()
1060 struct perf_evsel *evsel, in latency_wakeup_event() argument
1064 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_wakeup_event()
1121 struct perf_evsel *evsel, in latency_migrate_task_event() argument
1125 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_migrate_task_event()
1330 struct perf_evsel *evsel, in process_sched_wakeup_event() argument
1337 return sched->tp_handler->wakeup_event(sched, evsel, sample, machine); in process_sched_wakeup_event()
1342 static int map_switch_event(struct perf_sched *sched, struct perf_evsel *evsel, in map_switch_event() argument
1345 const u32 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in map_switch_event()
1429 struct perf_evsel *evsel, in process_sched_switch_event() argument
1435 u32 prev_pid = perf_evsel__intval(evsel, sample, "prev_pid"), in process_sched_switch_event()
1436 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in process_sched_switch_event()
1448 err = sched->tp_handler->switch_event(sched, evsel, sample, machine); in process_sched_switch_event()
1455 struct perf_evsel *evsel, in process_sched_runtime_event() argument
1462 return sched->tp_handler->runtime_event(sched, evsel, sample, machine); in process_sched_runtime_event()
1485 struct perf_evsel *evsel, in process_sched_migrate_task_event() argument
1492 return sched->tp_handler->migrate_task_event(sched, evsel, sample, machine); in process_sched_migrate_task_event()
1498 struct perf_evsel *evsel,
1505 struct perf_evsel *evsel, in perf_sched__process_tracepoint_sample() argument
1510 if (evsel->handler != NULL) { in perf_sched__process_tracepoint_sample()
1511 tracepoint_handler f = evsel->handler; in perf_sched__process_tracepoint_sample()
1512 err = f(tool, evsel, sample, machine); in perf_sched__process_tracepoint_sample()