Home
last modified time | relevance | path

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

/linux/tools/perf/arch/arm64/util/
H A 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()
H A Darm-spe.c286 struct evsel *tracking_evsel; in arm_spe_recording_options()
372 tracking_evsel = evlist__last(evlist); in arm_spe_alloc_wrapped_array()
373 evlist__set_tracking_event(evlist, tracking_evsel); in arm_spe_alloc_wrapped_array()
375 tracking_evsel->core.attr.freq = 0; in arm_spe_alloc_wrapped_array()
376 tracking_evsel->core.attr.sample_period = 1;
380 evsel__set_sample_bit(tracking_evsel, TIME); in arm_spe_buffer_has_wrapped()
381 evsel__set_sample_bit(tracking_evsel, CPU); in arm_spe_buffer_has_wrapped()
385 tracking_evsel->core.attr.context_switch = 1; in arm_spe_buffer_has_wrapped()
184 struct evsel *tracking_evsel; arm_spe_recording_options() local
/linux/tools/perf/tests/
H A Dswitch-tracking.c344 struct evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
423 tracking_evsel = evlist__last(evlist); in test__switch_tracking()
425 evlist__set_tracking_event(evlist, tracking_evsel); in test__switch_tracking()
427 tracking_evsel->core.attr.freq = 0; in test__switch_tracking()
428 tracking_evsel->core.attr.sample_period = 1; in test__switch_tracking()
430 evsel__set_sample_bit(tracking_evsel, TIME); in test__switch_tracking()
442 if (!tracking_evsel->core.attr.mmap || !tracking_evsel->core.attr.comm) { in test__switch_tracking()
449 if (evsel != tracking_evsel) { in test__switch_tracking()
/linux/tools/perf/arch/x86/util/
H A 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()
H A Dintel-pt.c856 struct evsel *tracking_evsel; in intel_pt_recording_options()
865 tracking_evsel = evlist__add_aux_dummy(evlist, need_system_wide_tracking); in intel_pt_recording_options()
866 if (!tracking_evsel) in intel_pt_recording_options()
869 evlist__set_tracking_event(evlist, tracking_evsel); in intel_pt_recording_options()
872 tracking_evsel->immediate = true; in intel_pt_recording_options()
876 evsel__set_sample_bit(tracking_evsel, TIME); in intel_pt_recording_options()
878 evsel__set_sample_bit(tracking_evsel, CPU); in intel_pt_recording_options()
880 evsel__reset_sample_bit(tracking_evsel, BRANCH_STACK); in intel_pt_recording_options()
855 struct evsel *tracking_evsel; intel_pt_recording_options() local
/linux/tools/perf/util/
H A Devlist.c1716 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel) in evlist__strerror_mmap()
1720 if (tracking_evsel->tracking) in evlist__strerror_mmap()
1724 if (evsel != tracking_evsel) in evlist__strerror_mmap()
1728 tracking_evsel->tracking = true; in evlist__strerror_mmap()
1762 evlist__set_tracking_event(struct evlist * evlist,struct evsel * tracking_evsel) evlist__set_tracking_event() argument
H A Devlist.h380 void evlist__set_tracking_event(struct evlist *evlist, struct evsel *tracking_evsel);