Home
last modified time | relevance | path

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

/Linux-v5.10/tools/perf/tests/
Dswitch-tracking.c61 struct evsel *switch_evsel; member
137 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()
340 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
395 switch_evsel = evlist__last(evlist); in test__switch_tracking()
397 evsel__set_sample_bit(switch_evsel, CPU); in test__switch_tracking()
398 evsel__set_sample_bit(switch_evsel, TIME); in test__switch_tracking()
400 switch_evsel->core.system_wide = true; in test__switch_tracking()
401 switch_evsel->no_aux_samples = true; in test__switch_tracking()
402 switch_evsel->immediate = true; in test__switch_tracking()
539 switch_tracking.switch_evsel = switch_evsel; in test__switch_tracking()
/Linux-v5.10/tools/perf/arch/x86/util/
Dintel-pt.c798 struct evsel *switch_evsel; in intel_pt_recording_options() local
804 switch_evsel = evlist__last(evlist); in intel_pt_recording_options()
806 switch_evsel->core.attr.freq = 0; in intel_pt_recording_options()
807 switch_evsel->core.attr.sample_period = 1; in intel_pt_recording_options()
808 switch_evsel->core.attr.context_switch = 1; in intel_pt_recording_options()
810 switch_evsel->core.system_wide = true; in intel_pt_recording_options()
811 switch_evsel->no_aux_samples = true; in intel_pt_recording_options()
812 switch_evsel->immediate = true; in intel_pt_recording_options()
814 evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()
815 evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()
[all …]
/Linux-v5.10/tools/perf/util/
Dintel-pt.c61 struct evsel *switch_evsel; member
2528 if (evsel != pt->switch_evsel) in intel_pt_process_switch()
2756 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()
3448 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()
3449 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()