Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/tests/
H A Dmmap-basic.c45 struct evsel *evsels[nsyscalls], *evsel; in test__basic_mmap() local
83 evsels[i] = evsel__newtp("syscalls", name); in test__basic_mmap()
84 if (IS_ERR(evsels[i])) { in test__basic_mmap()
86 if (PTR_ERR(evsels[i]) == -EACCES) { in test__basic_mmap()
93 evsels[i]->core.attr.wakeup_events = 1; in test__basic_mmap()
94 evsel__set_sample_id(evsels[i], false); in test__basic_mmap()
96 evlist__add(evlist, evsels[i]); in test__basic_mmap()
98 if (evsel__open(evsels[i], cpus, threads) < 0) { in test__basic_mmap()