Searched refs:evsels (Results 1 – 1 of 1) sorted by relevance
33 struct perf_evsel *evsels[nsyscalls], *evsel; in test__basic_mmap() local68 evsels[i] = perf_evsel__newtp("syscalls", name, i); in test__basic_mmap()69 if (evsels[i] == NULL) { in test__basic_mmap()74 evsels[i]->attr.wakeup_events = 1; in test__basic_mmap()75 perf_evsel__set_sample_id(evsels[i], false); in test__basic_mmap()77 perf_evlist__add(evlist, evsels[i]); in test__basic_mmap()79 if (perf_evsel__open(evsels[i], cpus, threads) < 0) { in test__basic_mmap()143 perf_evsel__close_fd(evsels[i], 1, threads->nr); in test__basic_mmap()