Home
last modified time | relevance | path

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

/tools/perf/tests/
Dswitch-tracking.c325 struct perf_evsel *switch_evsel, *tracking_evsel; in test__switch_tracking() local
410 tracking_evsel = perf_evlist__last(evlist); in test__switch_tracking()
412 perf_evlist__set_tracking_event(evlist, tracking_evsel); in test__switch_tracking()
414 tracking_evsel->attr.freq = 0; in test__switch_tracking()
415 tracking_evsel->attr.sample_period = 1; in test__switch_tracking()
417 perf_evsel__set_sample_bit(tracking_evsel, TIME); in test__switch_tracking()
429 if (!tracking_evsel->attr.mmap || !tracking_evsel->attr.comm) { in test__switch_tracking()
436 if (evsel != tracking_evsel) { in test__switch_tracking()
/tools/perf/util/
Devlist.h280 struct perf_evsel *tracking_evsel);
Devlist.c1476 struct perf_evsel *tracking_evsel) in perf_evlist__set_tracking_event() argument
1480 if (tracking_evsel->tracking) in perf_evlist__set_tracking_event()
1484 if (evsel != tracking_evsel) in perf_evlist__set_tracking_event()
1488 tracking_evsel->tracking = true; in perf_evlist__set_tracking_event()