Home
last modified time | relevance | path

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

/Linux-v6.1/tools/perf/arch/arm64/util/
Dhisi-ptt.c104 struct evsel *tracking_evsel; in hisi_ptt_recording_options() local
137 tracking_evsel = evlist__last(evlist); in hisi_ptt_recording_options()
138 evlist__set_tracking_event(evlist, tracking_evsel); in hisi_ptt_recording_options()
140 tracking_evsel->core.attr.freq = 0; in hisi_ptt_recording_options()
141 tracking_evsel->core.attr.sample_period = 1; in hisi_ptt_recording_options()
142 evsel__set_sample_bit(tracking_evsel, TIME); in hisi_ptt_recording_options()
Darm-spe.c149 struct evsel *tracking_evsel; in arm_spe_recording_options() local
264 tracking_evsel = evlist__last(evlist); in arm_spe_recording_options()
265 evlist__set_tracking_event(evlist, tracking_evsel); in arm_spe_recording_options()
267 tracking_evsel->core.attr.freq = 0; in arm_spe_recording_options()
268 tracking_evsel->core.attr.sample_period = 1; in arm_spe_recording_options()
272 evsel__set_sample_bit(tracking_evsel, TIME); in arm_spe_recording_options()
273 evsel__set_sample_bit(tracking_evsel, CPU); in arm_spe_recording_options()
277 tracking_evsel->core.attr.context_switch = 1; in arm_spe_recording_options()
/Linux-v6.1/tools/perf/tests/
Dswitch-tracking.c343 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
432 tracking_evsel = evlist__last(evlist); in test__switch_tracking()
434 evlist__set_tracking_event(evlist, tracking_evsel); in test__switch_tracking()
436 tracking_evsel->core.attr.freq = 0; in test__switch_tracking()
437 tracking_evsel->core.attr.sample_period = 1; in test__switch_tracking()
439 evsel__set_sample_bit(tracking_evsel, TIME); in test__switch_tracking()
451 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) { in test__switch_tracking()
458 if (evsel != tracking_evsel) { in test__switch_tracking()
/Linux-v6.1/tools/perf/arch/x86/util/
Dintel-bts.c233 struct evsel *tracking_evsel; in intel_bts_recording_options() local
240 tracking_evsel = evlist__last(evlist); in intel_bts_recording_options()
242 evlist__set_tracking_event(evlist, tracking_evsel); in intel_bts_recording_options()
244 tracking_evsel->core.attr.freq = 0; in intel_bts_recording_options()
245 tracking_evsel->core.attr.sample_period = 1; in intel_bts_recording_options()
Dintel-pt.c863 struct evsel *tracking_evsel; in intel_pt_recording_options() local
872 tracking_evsel = evlist__add_aux_dummy(evlist, need_system_wide_tracking); in intel_pt_recording_options()
873 if (!tracking_evsel) in intel_pt_recording_options()
876 evlist__set_tracking_event(evlist, tracking_evsel); in intel_pt_recording_options()
879 tracking_evsel->immediate = true; in intel_pt_recording_options()
883 evsel__set_sample_bit(tracking_evsel, TIME); in intel_pt_recording_options()
885 evsel__set_sample_bit(tracking_evsel, CPU); in intel_pt_recording_options()
887 evsel__reset_sample_bit(tracking_evsel, BRANCH_STACK); in intel_pt_recording_options()
/Linux-v6.1/tools/perf/arch/arm/util/
Dcs-etm.c439 struct evsel *tracking_evsel; in cs_etm_recording_options() local
445 tracking_evsel = evlist__last(evlist); in cs_etm_recording_options()
446 evlist__set_tracking_event(evlist, tracking_evsel); in cs_etm_recording_options()
448 tracking_evsel->core.attr.freq = 0; in cs_etm_recording_options()
449 tracking_evsel->core.attr.sample_period = 1; in cs_etm_recording_options()
453 evsel__set_sample_bit(tracking_evsel, TIME); in cs_etm_recording_options()
/Linux-v6.1/tools/perf/util/
Devlist.h389 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel);
Devlist.c1669 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel) in evlist__set_tracking_event() argument
1673 if (tracking_evsel->tracking) in evlist__set_tracking_event()
1677 if (evsel != tracking_evsel) in evlist__set_tracking_event()
1681 tracking_evsel->tracking = true; in evlist__set_tracking_event()