Searched refs:tracking_evsel (Results 1 - 5 of 5) sorted by relevance

/linux-4.4.14/tools/perf/tests/
H A Dswitch-tracking.c325 struct perf_evsel *switch_evsel, *tracking_evsel; test__switch_tracking() local
410 tracking_evsel = perf_evlist__last(evlist); test__switch_tracking()
412 perf_evlist__set_tracking_event(evlist, tracking_evsel); test__switch_tracking()
414 tracking_evsel->attr.freq = 0; test__switch_tracking()
415 tracking_evsel->attr.sample_period = 1; test__switch_tracking()
417 perf_evsel__set_sample_bit(tracking_evsel, TIME); test__switch_tracking()
429 if (!tracking_evsel->attr.mmap || !tracking_evsel->attr.comm) { test__switch_tracking()
436 if (evsel != tracking_evsel) { evlist__for_each()
/linux-4.4.14/tools/perf/arch/x86/util/
H A Dintel-bts.c233 struct perf_evsel *tracking_evsel; local
240 tracking_evsel = perf_evlist__last(evlist);
242 perf_evlist__set_tracking_event(evlist, tracking_evsel);
244 tracking_evsel->attr.freq = 0;
245 tracking_evsel->attr.sample_period = 1;
H A Dintel-pt.c688 struct perf_evsel *tracking_evsel; local
694 tracking_evsel = perf_evlist__last(evlist);
696 perf_evlist__set_tracking_event(evlist, tracking_evsel);
698 tracking_evsel->attr.freq = 0;
699 tracking_evsel->attr.sample_period = 1;
703 perf_evsel__set_sample_bit(tracking_evsel, TIME);
705 perf_evsel__set_sample_bit(tracking_evsel, CPU);
/linux-4.4.14/tools/perf/util/
H A Devlist.h292 struct perf_evsel *tracking_evsel);
H A Devlist.c1742 struct perf_evsel *tracking_evsel) perf_evlist__set_tracking_event()
1746 if (tracking_evsel->tracking) perf_evlist__set_tracking_event()
1750 if (evsel != tracking_evsel) evlist__for_each()
1754 tracking_evsel->tracking = true;
1741 perf_evlist__set_tracking_event(struct perf_evlist *evlist, struct perf_evsel *tracking_evsel) perf_evlist__set_tracking_event() argument

Completed in 153 milliseconds