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

/linux-4.4.14/tools/perf/tests/
H A Dmmap-basic.c32 struct perf_evsel *evsels[nsyscalls], *evsel; test__basic_mmap() local
68 evsels[i] = perf_evsel__newtp("syscalls", name); test__basic_mmap()
69 if (IS_ERR(evsels[i])) { test__basic_mmap()
74 evsels[i]->attr.wakeup_events = 1; test__basic_mmap()
75 perf_evsel__set_sample_id(evsels[i], false); test__basic_mmap()
77 perf_evlist__add(evlist, evsels[i]); test__basic_mmap()
79 if (perf_evsel__open(evsels[i], cpus, threads) < 0) { test__basic_mmap()
H A Dperf-record.c94 * Config the evsels, setting attr->comm on the first one, etc. test__PERF_RECORD()
121 * Call sys_perf_event_open on all the fds on all the evsels, test__PERF_RECORD()
/linux-4.4.14/tools/perf/util/
H A Devlist.h226 * __evlist__for_each - iterate thru all the evsels
234 * evlist__for_each - iterate thru all the evsels
242 * __evlist__for_each_continue - continue iteration thru all the evsels
250 * evlist__for_each_continue - continue iteration thru all the evsels
258 * __evlist__for_each_reverse - iterate thru all the evsels in reverse order
266 * evlist__for_each_reverse - iterate thru all the evsels in reverse order
274 * __evlist__for_each_safe - safely iterate thru all the evsels
283 * evlist__for_each_safe - safely iterate thru all the evsels
/linux-4.4.14/tools/perf/
H A Dbuiltin-inject.c553 /* Remove non-synthesized evsels if possible */ evlist__for_each_safe()

Completed in 279 milliseconds