Home
last modified time | relevance | path

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

/Linux-v4.19/tools/perf/tests/
Dswitch-tracking.c54 struct perf_evsel *switch_evsel; member
130 if (evsel == switch_tracking->switch_evsel) { in process_sample_event()
333 struct perf_evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
388 switch_evsel = perf_evlist__last(evlist); in test__switch_tracking()
390 perf_evsel__set_sample_bit(switch_evsel, CPU); in test__switch_tracking()
391 perf_evsel__set_sample_bit(switch_evsel, TIME); in test__switch_tracking()
393 switch_evsel->system_wide = true; in test__switch_tracking()
394 switch_evsel->no_aux_samples = true; in test__switch_tracking()
395 switch_evsel->immediate = true; in test__switch_tracking()
532 switch_tracking.switch_evsel = switch_evsel; in test__switch_tracking()
/Linux-v4.19/tools/perf/arch/x86/util/
Dintel-pt.c685 struct perf_evsel *switch_evsel; in intel_pt_recording_options() local
691 switch_evsel = perf_evlist__last(evlist); in intel_pt_recording_options()
693 switch_evsel->attr.freq = 0; in intel_pt_recording_options()
694 switch_evsel->attr.sample_period = 1; in intel_pt_recording_options()
695 switch_evsel->attr.context_switch = 1; in intel_pt_recording_options()
697 switch_evsel->system_wide = true; in intel_pt_recording_options()
698 switch_evsel->no_aux_samples = true; in intel_pt_recording_options()
699 switch_evsel->immediate = true; in intel_pt_recording_options()
701 perf_evsel__set_sample_bit(switch_evsel, TID); in intel_pt_recording_options()
702 perf_evsel__set_sample_bit(switch_evsel, TIME); in intel_pt_recording_options()
[all …]
/Linux-v4.19/tools/perf/util/
Dintel-pt.c60 struct perf_evsel *switch_evsel; member
1870 if (evsel != pt->switch_evsel) in intel_pt_process_switch()
1994 if (pt->switch_evsel && event->header.type == PERF_RECORD_SAMPLE) in intel_pt_process_event()
2541 pt->switch_evsel = intel_pt_find_sched_switch(session->evlist); in intel_pt_process_auxtrace_info()
2542 if (!pt->switch_evsel) { in intel_pt_process_auxtrace_info()