Lines Matching refs:sample
107 struct perf_sample *sample, struct machine *machine);
110 struct perf_sample *sample, struct machine *machine);
113 struct perf_sample *sample, struct machine *machine);
121 struct perf_sample *sample,
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()
705 printf(" ... pid %d woke up %s/%d\n", sample->tid, comm, pid); in replay_wakeup_event()
708 waker = register_pid(sched, sample->tid, "<unknown>"); in replay_wakeup_event()
711 add_sched_event_wakeup(sched, waker, sample->time, wakee); in replay_wakeup_event()
717 struct perf_sample *sample, 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()
726 u64 timestamp0, timestamp = sample->time; in replay_switch_event()
727 int cpu = sample->cpu; in replay_switch_event()
956 struct perf_sample *sample, 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()
964 u64 timestamp0, timestamp = sample->time; in latency_switch_event()
965 int cpu = sample->cpu, err = -1; in latency_switch_event()
1026 struct perf_sample *sample, 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()
1033 u64 timestamp = sample->time; in latency_runtime_event()
1034 int cpu = sample->cpu, err = -1; in latency_runtime_event()
1061 struct perf_sample *sample, in latency_wakeup_event() argument
1064 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_wakeup_event()
1068 u64 timestamp = sample->time; in latency_wakeup_event()
1122 struct perf_sample *sample, in latency_migrate_task_event() argument
1125 const u32 pid = perf_evsel__intval(evsel, sample, "pid"); in latency_migrate_task_event()
1126 u64 timestamp = sample->time; in latency_migrate_task_event()
1331 struct perf_sample *sample, in process_sched_wakeup_event() argument
1337 return sched->tp_handler->wakeup_event(sched, evsel, sample, machine); in process_sched_wakeup_event()
1343 struct perf_sample *sample, struct machine *machine) in map_switch_event() argument
1345 const u32 next_pid = perf_evsel__intval(evsel, sample, "next_pid"); in map_switch_event()
1348 u64 timestamp0, timestamp = sample->time; in map_switch_event()
1350 int cpu, this_cpu = sample->cpu; in map_switch_event()
1430 struct perf_sample *sample, in process_sched_switch_event() argument
1434 int this_cpu = sample->cpu, err = 0; in process_sched_switch_event()
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()
1456 struct perf_sample *sample, in process_sched_runtime_event() argument
1462 return sched->tp_handler->runtime_event(sched, evsel, sample, machine); in process_sched_runtime_event()
1469 struct perf_sample *sample, in perf_sched__process_fork_event() argument
1475 perf_event__process_fork(tool, event, sample, machine); in perf_sched__process_fork_event()
1486 struct perf_sample *sample, 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()
1499 struct perf_sample *sample,
1504 struct perf_sample *sample, in perf_sched__process_tracepoint_sample() argument
1512 err = f(tool, evsel, sample, machine); in perf_sched__process_tracepoint_sample()
1785 .sample = perf_sched__process_tracepoint_sample, in cmd_sched()