Lines Matching refs:evlist
81 struct evlist *evlist = NULL; in test__perf_time_to_tsc() local
99 evlist = evlist__new(); in test__perf_time_to_tsc()
100 CHECK_NOT_NULL__(evlist); in test__perf_time_to_tsc()
102 perf_evlist__set_maps(&evlist->core, cpus, threads); in test__perf_time_to_tsc()
104 CHECK__(parse_event(evlist, "cycles:u")); in test__perf_time_to_tsc()
106 evlist__config(evlist, &opts, NULL); in test__perf_time_to_tsc()
109 evlist__for_each_entry(evlist, evsel) { in test__perf_time_to_tsc()
115 ret = evlist__open(evlist); in test__perf_time_to_tsc()
124 CHECK__(evlist__mmap(evlist, UINT_MAX)); in test__perf_time_to_tsc()
126 pc = evlist->mmap[0].core.base; in test__perf_time_to_tsc()
136 evlist__enable(evlist); in test__perf_time_to_tsc()
146 evlist__disable(evlist); in test__perf_time_to_tsc()
148 for (i = 0; i < evlist->core.nr_mmaps; i++) { in test__perf_time_to_tsc()
149 md = &evlist->mmap[i]; in test__perf_time_to_tsc()
163 CHECK_NOT_NULL__(evsel = evlist__event2evsel(evlist, event)); in test__perf_time_to_tsc()
168 CHECK_NOT_NULL__(evsel = evlist__event2evsel(evlist, event)); in test__perf_time_to_tsc()
204 evlist__delete(evlist); in test__perf_time_to_tsc()