Lines Matching refs:evsel
13 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__enable_on_exec() local
35 evsel->attr.enable_on_exec = 1; in attach__enable_on_exec()
55 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_disabled() local
67 evsel->attr.disabled = 1; in attach__current_disabled()
69 err = perf_evsel__open_per_thread(evsel, threads); in attach__current_disabled()
76 return perf_evsel__enable(evsel) == 0 ? TEST_OK : TEST_FAIL; in attach__current_disabled()
81 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__current_enabled() local
93 err = perf_evsel__open_per_thread(evsel, threads); in attach__current_enabled()
101 struct perf_evsel *evsel = perf_evlist__last(evlist); in detach__disable() local
103 return perf_evsel__enable(evsel); in detach__disable()
108 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_disabled() local
120 evsel->attr.disabled = 1; in attach__cpu_disabled()
122 err = perf_evsel__open_per_cpu(evsel, cpus); in attach__cpu_disabled()
132 return perf_evsel__enable(evsel); in attach__cpu_disabled()
137 struct perf_evsel *evsel = perf_evlist__last(evlist); in attach__cpu_enabled() local
149 err = perf_evsel__open_per_cpu(evsel, cpus); in attach__cpu_enabled()
162 struct perf_evsel *evsel; in test_times() local
177 evsel = perf_evlist__last(evlist); in test_times()
178 evsel->attr.read_format |= in test_times()
194 perf_evsel__read(evsel, 0, 0, &count); in test_times()