Searched refs:evlist_cpu_itr (Results 1 – 3 of 3) sorted by relevance
/linux-6.12.1/tools/perf/util/ |
D | evlist.c | 437 void evlist_cpu_iterator__next(struct evlist_cpu_iterator *evlist_cpu_itr) in evlist_cpu_iterator__next() argument 439 while (evlist_cpu_itr->evsel != evlist__last(evlist_cpu_itr->container)) { in evlist_cpu_iterator__next() 440 evlist_cpu_itr->evsel = evsel__next(evlist_cpu_itr->evsel); in evlist_cpu_iterator__next() 441 evlist_cpu_itr->cpu_map_idx = in evlist_cpu_iterator__next() 442 perf_cpu_map__idx(evlist_cpu_itr->evsel->core.cpus, in evlist_cpu_iterator__next() 443 evlist_cpu_itr->cpu); in evlist_cpu_iterator__next() 444 if (evlist_cpu_itr->cpu_map_idx != -1) in evlist_cpu_iterator__next() 447 evlist_cpu_itr->evlist_cpu_map_idx++; in evlist_cpu_iterator__next() 448 if (evlist_cpu_itr->evlist_cpu_map_idx < evlist_cpu_itr->evlist_cpu_map_nr) { in evlist_cpu_iterator__next() 449 evlist_cpu_itr->evsel = evlist__first(evlist_cpu_itr->container); in evlist_cpu_iterator__next() [all …]
|
D | evlist.h | 380 #define evlist__for_each_cpu(evlist_cpu_itr, evlist, affinity) \ argument 381 for ((evlist_cpu_itr) = evlist__cpu_begin(evlist, affinity); \ 382 !evlist_cpu_iterator__end(&evlist_cpu_itr); \ 383 evlist_cpu_iterator__next(&evlist_cpu_itr)) 388 void evlist_cpu_iterator__next(struct evlist_cpu_iterator *evlist_cpu_itr); 390 bool evlist_cpu_iterator__end(const struct evlist_cpu_iterator *evlist_cpu_itr);
|
/linux-6.12.1/tools/perf/ |
D | builtin-stat.c | 368 struct evlist_cpu_iterator evlist_cpu_itr; in read_affinity_counters() local 381 evlist__for_each_cpu(evlist_cpu_itr, evsel_list, affinity) { in read_affinity_counters() 382 struct evsel *counter = evlist_cpu_itr.evsel; in read_affinity_counters() 388 counter->err = read_counter_cpu(counter, evlist_cpu_itr.cpu_map_idx); in read_affinity_counters() 705 struct evlist_cpu_iterator evlist_cpu_itr; in __run_perf_stat() local 734 evlist__for_each_cpu(evlist_cpu_itr, evsel_list, affinity) { in __run_perf_stat() 735 counter = evlist_cpu_itr.evsel; in __run_perf_stat() 750 evlist_cpu_itr.cpu_map_idx) < 0) { in __run_perf_stat() 790 evlist__for_each_cpu(evlist_cpu_itr, evsel_list, affinity) { in __run_perf_stat() 791 counter = evlist_cpu_itr.evsel; in __run_perf_stat() [all …]
|