Lines Matching full:sample

240 				   struct perf_sample *sample)  in atom_new()  argument
270 atom->time = sample->time; in atom_new()
395 struct perf_sample *sample) in profile_update_timespan() argument
400 if ((kwork->timestart == 0) || (kwork->timestart > sample->time)) in profile_update_timespan()
401 kwork->timestart = sample->time; in profile_update_timespan()
403 if (kwork->timeend < sample->time) in profile_update_timespan()
404 kwork->timeend = sample->time; in profile_update_timespan()
420 struct perf_sample *sample) in profile_event_match() argument
423 u64 time = sample->time; in profile_event_match()
442 profile_update_timespan(kwork, sample); in profile_event_match()
451 struct perf_sample *sample, in work_push_atom() argument
460 class->work_init(kwork, class, &key, src_type, evsel, sample, machine); in work_push_atom()
462 atom = atom_new(kwork, sample); in work_push_atom()
472 if (!profile_event_match(kwork, work, sample)) { in work_push_atom()
510 struct perf_sample *sample, in work_pop_atom() argument
518 class->work_init(kwork, class, &key, src_type, evsel, sample, machine); in work_pop_atom()
527 if (!profile_event_match(kwork, work, sample)) in work_pop_atom()
535 src_atom = atom_new(kwork, sample); in work_pop_atom()
580 struct perf_sample *sample) in report_update_exit_event() argument
583 u64 exit_time = sample->time; in report_update_exit_event()
602 struct perf_sample *sample, in report_entry_event() argument
606 KWORK_TRACE_MAX, evsel, sample, in report_entry_event()
613 struct perf_sample *sample, in report_exit_event() argument
620 KWORK_TRACE_ENTRY, evsel, sample, in report_exit_event()
626 report_update_exit_event(work, atom, sample); in report_exit_event()
635 struct perf_sample *sample) in latency_update_entry_event() argument
638 u64 entry_time = sample->time; in latency_update_entry_event()
657 struct perf_sample *sample, in latency_raise_event() argument
661 KWORK_TRACE_MAX, evsel, sample, in latency_raise_event()
668 struct perf_sample *sample, in latency_entry_event() argument
675 KWORK_TRACE_RAISE, evsel, sample, in latency_entry_event()
681 latency_update_entry_event(work, atom, sample); in latency_entry_event()
689 struct perf_sample *sample, in timehist_save_callchain() argument
698 if (!kwork->show_callchain || sample->callchain == NULL) in timehist_save_callchain()
702 thread = machine__findnew_thread(machine, sample->pid, sample->pid); in timehist_save_callchain()
704 pr_debug("Failed to get thread for pid %d\n", sample->pid); in timehist_save_callchain()
710 if (thread__resolve_callchain(thread, cursor, evsel, sample, in timehist_save_callchain()
740 struct perf_sample *sample, in timehist_print_event() argument
756 timestamp__scnprintf_usec(sample->time, in timehist_print_event()
780 (double)(sample->time - atom->time) / NSEC_PER_MSEC); in timehist_print_event()
802 sample__fprintf_sym(sample, al, 0, in timehist_print_event()
816 struct perf_sample *sample, in timehist_raise_event() argument
820 KWORK_TRACE_MAX, evsel, sample, in timehist_raise_event()
827 struct perf_sample *sample, in timehist_entry_event() argument
834 KWORK_TRACE_RAISE, evsel, sample, in timehist_entry_event()
840 timehist_save_callchain(kwork, sample, evsel, machine); in timehist_entry_event()
848 struct perf_sample *sample, in timehist_exit_event() argument
857 if (machine__resolve(machine, &al, sample) < 0) { in timehist_exit_event()
864 KWORK_TRACE_ENTRY, evsel, sample, in timehist_exit_event()
873 timehist_print_event(kwork, work, atom, sample, &al); in timehist_exit_event()
884 struct perf_sample *sample) in top_update_runtime() argument
887 u64 exit_time = sample->time; in top_update_runtime()
899 struct perf_sample *sample, in top_entry_event() argument
903 KWORK_TRACE_MAX, evsel, sample, in top_entry_event()
910 struct perf_sample *sample, in top_exit_event() argument
918 KWORK_TRACE_ENTRY, evsel, sample, in top_exit_event()
929 top_update_runtime(work, atom, sample); in top_exit_event()
940 struct perf_sample *sample, in top_sched_switch_event() argument
947 KWORK_TRACE_ENTRY, evsel, sample, in top_sched_switch_event()
953 top_update_runtime(work, atom, sample); in top_sched_switch_event()
957 return top_entry_event(kwork, class, evsel, sample, machine); in top_sched_switch_event()
963 struct perf_sample *sample, in process_irq_handler_entry_event() argument
970 evsel, sample, machine); in process_irq_handler_entry_event()
976 struct perf_sample *sample, in process_irq_handler_exit_event() argument
983 evsel, sample, machine); in process_irq_handler_exit_event()
1009 struct perf_sample *sample, in irq_work_init() argument
1013 work->cpu = sample->cpu; in irq_work_init()
1016 work->id = evsel__intval_common(evsel, sample, "common_pid"); in irq_work_init()
1019 work->id = evsel__intval(evsel, sample, "irq"); in irq_work_init()
1020 work->name = evsel__strval(evsel, sample, "name"); in irq_work_init()
1042 struct perf_sample *sample, in process_softirq_raise_event() argument
1049 evsel, sample, machine); in process_softirq_raise_event()
1056 struct perf_sample *sample, in process_softirq_entry_event() argument
1063 evsel, sample, machine); in process_softirq_entry_event()
1070 struct perf_sample *sample, in process_softirq_exit_event() argument
1077 evsel, sample, machine); in process_softirq_exit_event()
1136 struct perf_sample *sample, in softirq_work_init() argument
1142 work->cpu = sample->cpu; in softirq_work_init()
1145 work->id = evsel__intval_common(evsel, sample, "common_pid"); in softirq_work_init()
1148 num = evsel__intval(evsel, sample, "vec"); in softirq_work_init()
1172 struct perf_sample *sample, in process_workqueue_activate_work_event() argument
1179 evsel, sample, machine); in process_workqueue_activate_work_event()
1186 struct perf_sample *sample, in process_workqueue_execute_start_event() argument
1193 evsel, sample, machine); in process_workqueue_execute_start_event()
1200 struct perf_sample *sample, in process_workqueue_execute_end_event() argument
1207 evsel, sample, machine); in process_workqueue_execute_end_event()
1236 struct perf_sample *sample, in workqueue_work_init() argument
1241 sample, "function"); in workqueue_work_init()
1244 work->cpu = sample->cpu; in workqueue_work_init()
1245 work->id = evsel__intval(evsel, sample, "work"); in workqueue_work_init()
1271 struct perf_sample *sample, in process_sched_switch_event() argument
1278 evsel, sample, machine); in process_sched_switch_event()
1304 struct perf_sample *sample, in sched_work_init() argument
1308 work->cpu = sample->cpu; in sched_work_init()
1311 work->id = evsel__intval(evsel, sample, "prev_pid"); in sched_work_init()
1312 work->name = strdup(evsel__strval(evsel, sample, "prev_comm")); in sched_work_init()
1314 work->id = evsel__intval(evsel, sample, "next_pid"); in sched_work_init()
1315 work->name = strdup(evsel__strval(evsel, sample, "next_comm")); in sched_work_init()
1950 struct perf_sample *sample,
1955 struct perf_sample *sample, in perf_kwork__process_tracepoint_sample() argument
1964 err = f(tool, evsel, sample, machine); in perf_kwork__process_tracepoint_sample()
2328 .sample = perf_kwork__process_tracepoint_sample, in cmd_kwork()