Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Devlist.c434 while (evlist_cpu_itr->evsel != evlist__last(evlist_cpu_itr->container)) { in evlist_cpu_iterator__next()
435 evlist_cpu_itr->evsel = evsel__next(evlist_cpu_itr->evsel); in evlist_cpu_iterator__next()
438 evlist_cpu_itr->cpu); in evlist_cpu_iterator__next()
443 if (evlist_cpu_itr->evlist_cpu_map_idx < evlist_cpu_itr->evlist_cpu_map_nr) { in evlist_cpu_iterator__next()
444 evlist_cpu_itr->evsel = evlist__first(evlist_cpu_itr->container); in evlist_cpu_iterator__next()
445 evlist_cpu_itr->cpu = in evlist_cpu_iterator__next()
449 affinity__set(evlist_cpu_itr->affinity, evlist_cpu_itr->cpu.cpu); in evlist_cpu_iterator__next()
452 evlist_cpu_itr->cpu); in evlist_cpu_iterator__next()
464 return evlist_cpu_itr->evlist_cpu_map_idx >= evlist_cpu_itr->evlist_cpu_map_nr; in evlist_cpu_iterator__end()
507 pos = evlist_cpu_itr.evsel; in __evlist__disable()
[all …]
H A Devlist.h376 #define evlist__for_each_cpu(evlist_cpu_itr, evlist, affinity) \ argument
377 for ((evlist_cpu_itr) = evlist__cpu_begin(evlist, affinity); \
378 !evlist_cpu_iterator__end(&evlist_cpu_itr); \
379 evlist_cpu_iterator__next(&evlist_cpu_itr))
384 void evlist_cpu_iterator__next(struct evlist_cpu_iterator *evlist_cpu_itr);
386 bool evlist_cpu_iterator__end(const struct evlist_cpu_iterator *evlist_cpu_itr);
/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c365 struct evlist_cpu_iterator evlist_cpu_itr; in read_affinity_counters() local
378 evlist__for_each_cpu(evlist_cpu_itr, evsel_list, affinity) { in read_affinity_counters()
379 struct evsel *counter = evlist_cpu_itr.evsel; in read_affinity_counters()
386 evlist_cpu_itr.cpu_map_idx); in read_affinity_counters()
701 struct evlist_cpu_iterator evlist_cpu_itr; in __run_perf_stat() local
730 evlist__for_each_cpu(evlist_cpu_itr, evsel_list, affinity) { in __run_perf_stat()
731 counter = evlist_cpu_itr.evsel; in __run_perf_stat()
746 evlist_cpu_itr.cpu_map_idx) < 0) { in __run_perf_stat()
787 counter = evlist_cpu_itr.evsel; in __run_perf_stat()
796 counter = evlist_cpu_itr.evsel; in __run_perf_stat()
[all …]