Lines Matching refs:sample

106 			    struct perf_sample *sample, struct machine *machine);
109 struct perf_sample *sample, struct machine *machine);
112 struct perf_sample *sample, struct machine *machine);
120 struct perf_sample *sample,
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()
703 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pid); in replay_wakeup_event()
706 waker = register_pid(sched, sample->tid, "<unknown>"); in replay_wakeup_event()
709 add_sched_event_wakeup(sched, waker, sample->time, wakee); in replay_wakeup_event()
715 struct perf_sample *sample, 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()
724 u64 timestamp0, timestamp = sample->time; in replay_switch_event()
725 int cpu = sample->cpu; in replay_switch_event()
951 struct perf_sample *sample, 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()
959 u64 timestamp0, timestamp = sample->time; in latency_switch_event()
960 int cpu = sample->cpu; in latency_switch_event()
1016 struct perf_sample *sample, 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()
1023 u64 timestamp = sample->time; in latency_runtime_event()
1024 int cpu = sample->cpu; in latency_runtime_event()
1045 struct perf_sample *sample, in latency_wakeup_event() argument
1048 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_wakeup_event()
1052 u64 timestamp = sample->time; in latency_wakeup_event()
1099 struct perf_sample *sample, in latency_migrate_task_event() argument
1102 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_migrate_task_event()
1103 u64 timestamp = sample->time; in latency_migrate_task_event()
1294 struct perf_sample *sample, in process_sched_wakeup_event() argument
1300 return sched->tp_handler->wakeup_event(sched, evsel, sample, machine); in process_sched_wakeup_event()
1306 struct perf_sample *sample, struct machine *machine) in map_switch_event() argument
1308 const u32 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in map_switch_event()
1311 u64 timestamp0, timestamp = sample->time; in map_switch_event()
1313 int cpu, this_cpu = sample->cpu; in map_switch_event()
1389 struct perf_sample *sample, in process_sched_switch_event() argument
1393 int this_cpu = sample->cpu, err = 0; in process_sched_switch_event()
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()
1415 struct perf_sample *sample, in process_sched_runtime_event() argument
1421 return sched->tp_handler->runtime_event(sched, evsel, sample, machine); in process_sched_runtime_event()
1428 struct perf_sample *sample, in perf_sched__process_fork_event() argument
1434 perf_event__process_fork(tool, event, sample, machine); in perf_sched__process_fork_event()
1445 struct perf_sample *sample, 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()
1458 struct perf_sample *sample,
1463 struct perf_sample *sample, in perf_sched__process_tracepoint_sample() argument
1471 err = f(tool, evsel, sample, machine); in perf_sched__process_tracepoint_sample()
1690 .sample = perf_sched__process_tracepoint_sample, in cmd_sched()