Home
last modified time | relevance | path

Searched refs:switch_evsel (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/tools/perf/tests/
Dswitch-tracking.c60 struct evsel *switch_evsel; member
136 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()
339 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
394 switch_evsel = evlist__last(evlist); in test__switch_tracking()
396 perf_evsel__set_sample_bit(switch_evsel, CPU); in test__switch_tracking()
397 perf_evsel__set_sample_bit(switch_evsel, TIME); in test__switch_tracking()
399 switch_evsel->core.system_wide = true; in test__switch_tracking()
400 switch_evsel->no_aux_samples = true; in test__switch_tracking()
401 switch_evsel->immediate = true; in test__switch_tracking()
538 switch_tracking.switch_evsel = switch_evsel; in test__switch_tracking()
/Linux-v5.4/tools/perf/arch/x86/util/
Dintel-pt.c714 struct evsel *switch_evsel; in intel_pt_recording_options() local
720 switch_evsel = evlist__last(evlist); in intel_pt_recording_options()
722 switch_evsel->core.attr.freq = 0; in intel_pt_recording_options()
723 switch_evsel->core.attr.sample_period = 1; in intel_pt_recording_options()
724 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()
726 switch_evsel->core.system_wide = true; in intel_pt_recording_options()
727 switch_evsel->no_aux_samples = true; in intel_pt_recording_options()
728 switch_evsel->immediate = true; in intel_pt_recording_options()
730 perf_evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()
731 perf_evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()
[all …]
/Linux-v5.4/tools/perf/util/
Dintel-pt.c60 struct evsel *switch_evsel; member
2410 if (evsel != pt->switch_evsel) in intel_pt_process_switch()
2572 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()
3217 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()
3218 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()