Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/tests/
H A Dswitch-tracking.c65 struct evsel *cycles_evsel; member
161 if (evsel == switch_tracking->cycles_evsel) { in process_sample_event()
384 cycles_evsel = evlist__last(evlist); in test__switch_tracking()
403 if (cycles_evsel == evlist__first(evlist)) { in test__switch_tracking()
407 evlist__to_front(evlist, cycles_evsel); in test__switch_tracking()
408 if (cycles_evsel != evlist__first(evlist)) { in test__switch_tracking()
413 evsel__set_sample_bit(cycles_evsel, CPU); in test__switch_tracking()
414 evsel__set_sample_bit(cycles_evsel, TIME); in test__switch_tracking()
490 err = evsel__disable(cycles_evsel); in test__switch_tracking()
516 err = evsel__enable(cycles_evsel); in test__switch_tracking()
[all …]