Lines Matching full:sample
197 struct perf_sample *sample) in atom_new() argument
227 atom->time = sample->time; in atom_new()
352 struct perf_sample *sample) in profile_update_timespan() argument
357 if ((kwork->timestart == 0) || (kwork->timestart > sample->time)) in profile_update_timespan()
358 kwork->timestart = sample->time; in profile_update_timespan()
360 if (kwork->timeend < sample->time) in profile_update_timespan()
361 kwork->timeend = sample->time; in profile_update_timespan()
366 struct perf_sample *sample) in profile_event_match() argument
369 u64 time = sample->time; in profile_event_match()
384 profile_update_timespan(kwork, sample); in profile_event_match()
393 struct perf_sample *sample, in work_push_atom() argument
401 class->work_init(class, &key, evsel, sample, machine); in work_push_atom()
403 atom = atom_new(kwork, sample); in work_push_atom()
413 if (!profile_event_match(kwork, work, sample)) in work_push_atom()
438 struct perf_sample *sample, in work_pop_atom() argument
446 class->work_init(class, &key, evsel, sample, machine); in work_pop_atom()
455 if (!profile_event_match(kwork, work, sample)) in work_pop_atom()
463 src_atom = atom_new(kwork, sample); in work_pop_atom()
476 struct perf_sample *sample) in report_update_exit_event() argument
479 u64 exit_time = sample->time; in report_update_exit_event()
498 struct perf_sample *sample, in report_entry_event() argument
502 KWORK_TRACE_MAX, evsel, sample, in report_entry_event()
509 struct perf_sample *sample, in report_exit_event() argument
516 KWORK_TRACE_ENTRY, evsel, sample, in report_exit_event()
522 report_update_exit_event(work, atom, sample); in report_exit_event()
531 struct perf_sample *sample) in latency_update_entry_event() argument
534 u64 entry_time = sample->time; in latency_update_entry_event()
553 struct perf_sample *sample, in latency_raise_event() argument
557 KWORK_TRACE_MAX, evsel, sample, in latency_raise_event()
564 struct perf_sample *sample, in latency_entry_event() argument
571 KWORK_TRACE_RAISE, evsel, sample, in latency_entry_event()
577 latency_update_entry_event(work, atom, sample); in latency_entry_event()
585 struct perf_sample *sample, in timehist_save_callchain() argument
594 if (!kwork->show_callchain || sample->callchain == NULL) in timehist_save_callchain()
598 thread = machine__findnew_thread(machine, sample->pid, sample->pid); in timehist_save_callchain()
600 pr_debug("Failed to get thread for pid %d\n", sample->pid); in timehist_save_callchain()
606 if (thread__resolve_callchain(thread, cursor, evsel, sample, in timehist_save_callchain()
636 struct perf_sample *sample, in timehist_print_event() argument
652 timestamp__scnprintf_usec(sample->time, in timehist_print_event()
676 (double)(sample->time - atom->time) / NSEC_PER_MSEC); in timehist_print_event()
698 sample__fprintf_sym(sample, al, 0, in timehist_print_event()
712 struct perf_sample *sample, in timehist_raise_event() argument
716 KWORK_TRACE_MAX, evsel, sample, in timehist_raise_event()
723 struct perf_sample *sample, in timehist_entry_event() argument
730 KWORK_TRACE_RAISE, evsel, sample, in timehist_entry_event()
736 timehist_save_callchain(kwork, sample, evsel, machine); in timehist_entry_event()
744 struct perf_sample *sample, in timehist_exit_event() argument
753 if (machine__resolve(machine, &al, sample) < 0) { in timehist_exit_event()
760 KWORK_TRACE_ENTRY, evsel, sample, in timehist_exit_event()
769 timehist_print_event(kwork, work, atom, sample, &al); in timehist_exit_event()
781 struct perf_sample *sample, in process_irq_handler_entry_event() argument
788 evsel, sample, machine); in process_irq_handler_entry_event()
794 struct perf_sample *sample, in process_irq_handler_exit_event() argument
801 evsel, sample, machine); in process_irq_handler_exit_event()
825 struct perf_sample *sample, in irq_work_init() argument
829 work->cpu = sample->cpu; in irq_work_init()
830 work->id = evsel__intval(evsel, sample, "irq"); in irq_work_init()
831 work->name = evsel__strval(evsel, sample, "name"); in irq_work_init()
852 struct perf_sample *sample, in process_softirq_raise_event() argument
859 evsel, sample, machine); in process_softirq_raise_event()
866 struct perf_sample *sample, in process_softirq_entry_event() argument
873 evsel, sample, machine); in process_softirq_entry_event()
880 struct perf_sample *sample, in process_softirq_exit_event() argument
887 evsel, sample, machine); in process_softirq_exit_event()
944 struct perf_sample *sample, in softirq_work_init() argument
947 u64 num = evsel__intval(evsel, sample, "vec"); in softirq_work_init()
951 work->cpu = sample->cpu; in softirq_work_init()
973 struct perf_sample *sample, in process_workqueue_activate_work_event() argument
980 evsel, sample, machine); in process_workqueue_activate_work_event()
987 struct perf_sample *sample, in process_workqueue_execute_start_event() argument
994 evsel, sample, machine); in process_workqueue_execute_start_event()
1001 struct perf_sample *sample, in process_workqueue_execute_end_event() argument
1008 evsel, sample, machine); in process_workqueue_execute_end_event()
1035 struct perf_sample *sample, in workqueue_work_init() argument
1040 sample, "function"); in workqueue_work_init()
1043 work->cpu = sample->cpu; in workqueue_work_init()
1044 work->id = evsel__intval(evsel, sample, "work"); in workqueue_work_init()
1553 struct perf_sample *sample,
1558 struct perf_sample *sample, in perf_kwork__process_tracepoint_sample() argument
1567 err = f(tool, evsel, sample, machine); in perf_kwork__process_tracepoint_sample()
1697 .sample = perf_kwork__process_tracepoint_sample, in cmd_kwork()