Lines Matching refs:evsel
19 struct evsel *evsel = evlist__last(evlist); in attach__enable_on_exec() local
41 evsel->core.attr.enable_on_exec = 1; in attach__enable_on_exec()
61 struct evsel *evsel = evlist__last(evlist); in attach__current_disabled() local
73 evsel->core.attr.disabled = 1; in attach__current_disabled()
75 err = perf_evsel__open_per_thread(evsel, threads); in attach__current_disabled()
82 return evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; in attach__current_disabled()
87 struct evsel *evsel = evlist__last(evlist); in attach__current_enabled() local
99 err = perf_evsel__open_per_thread(evsel, threads); in attach__current_enabled()
107 struct evsel *evsel = evlist__last(evlist); in detach__disable() local
109 return evsel__enable(evsel); in detach__disable()
114 struct evsel *evsel = evlist__last(evlist); in attach__cpu_disabled() local
126 evsel->core.attr.disabled = 1; in attach__cpu_disabled()
128 err = perf_evsel__open_per_cpu(evsel, cpus); in attach__cpu_disabled()
138 return evsel__enable(evsel); in attach__cpu_disabled()
143 struct evsel *evsel = evlist__last(evlist); in attach__cpu_enabled() local
155 err = perf_evsel__open_per_cpu(evsel, cpus); in attach__cpu_enabled()
168 struct evsel *evsel; in test_times() local
183 evsel = evlist__last(evlist); in test_times()
184 evsel->core.attr.read_format |= in test_times()
200 perf_evsel__read(&evsel->core, 0, 0, &count); in test_times()