Home
last modified time | relevance | path

Searched refs:tracking_evsel (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.15/tools/perf/arch/arm64/util/
Darm-spe.c97 struct evsel *tracking_evsel; in arm_spe_recording_options() local
162 tracking_evsel = evlist__last(evlist); in arm_spe_recording_options()
163 evlist__set_tracking_event(evlist, tracking_evsel); in arm_spe_recording_options()
165 tracking_evsel->core.attr.freq = 0; in arm_spe_recording_options()
166 tracking_evsel->core.attr.sample_period = 1; in arm_spe_recording_options()
170 evsel__set_sample_bit(tracking_evsel, TIME); in arm_spe_recording_options()
/Linux-v5.15/tools/perf/tests/
Dswitch-tracking.c341 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
429 tracking_evsel = evlist__last(evlist); in test__switch_tracking()
431 evlist__set_tracking_event(evlist, tracking_evsel); in test__switch_tracking()
433 tracking_evsel->core.attr.freq = 0; in test__switch_tracking()
434 tracking_evsel->core.attr.sample_period = 1; in test__switch_tracking()
436 evsel__set_sample_bit(tracking_evsel, TIME); in test__switch_tracking()
448 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) { in test__switch_tracking()
455 if (evsel != tracking_evsel) { in test__switch_tracking()
/Linux-v5.15/tools/perf/arch/x86/util/
Dintel-bts.c232 struct evsel *tracking_evsel; in intel_bts_recording_options() local
239 tracking_evsel = evlist__last(evlist); in intel_bts_recording_options()
241 evlist__set_tracking_event(evlist, tracking_evsel); in intel_bts_recording_options()
243 tracking_evsel->core.attr.freq = 0; in intel_bts_recording_options()
244 tracking_evsel->core.attr.sample_period = 1; in intel_bts_recording_options()
Dintel-pt.c866 struct evsel *tracking_evsel; in intel_pt_recording_options() local
872 tracking_evsel = evlist__last(evlist); in intel_pt_recording_options()
874 evlist__set_tracking_event(evlist, tracking_evsel); in intel_pt_recording_options()
876 tracking_evsel->core.attr.freq = 0; in intel_pt_recording_options()
877 tracking_evsel->core.attr.sample_period = 1; in intel_pt_recording_options()
879 tracking_evsel->no_aux_samples = true; in intel_pt_recording_options()
881 tracking_evsel->immediate = true; in intel_pt_recording_options()
885 evsel__set_sample_bit(tracking_evsel, TIME); in intel_pt_recording_options()
887 evsel__set_sample_bit(tracking_evsel, CPU); in intel_pt_recording_options()
889 evsel__reset_sample_bit(tracking_evsel, BRANCH_STACK); in intel_pt_recording_options()
/Linux-v5.15/tools/perf/arch/arm/util/
Dcs-etm.c455 struct evsel *tracking_evsel; in cs_etm_recording_options() local
461 tracking_evsel = evlist__last(evlist); in cs_etm_recording_options()
462 evlist__set_tracking_event(evlist, tracking_evsel); in cs_etm_recording_options()
464 tracking_evsel->core.attr.freq = 0; in cs_etm_recording_options()
465 tracking_evsel->core.attr.sample_period = 1; in cs_etm_recording_options()
469 evsel__set_sample_bit(tracking_evsel, TIME); in cs_etm_recording_options()
/Linux-v5.15/tools/perf/util/
Devlist.c1630 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel) in evlist__set_tracking_event() argument
1634 if (tracking_evsel->tracking) in evlist__set_tracking_event()
1638 if (evsel != tracking_evsel) in evlist__set_tracking_event()
1642 tracking_evsel->tracking = true; in evlist__set_tracking_event()
Devlist.h333 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel);