Home
last modified time | relevance | path

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

/openbmc/linux/tools/perf/util/
H A Dbpf_counter.c241 perf_cpu_map__for_each_idx(idx, evsel__cpus(evsel)) { in bpf_program_profiler__read()
260 idx = perf_cpu_map__idx(evsel__cpus(evsel), in bpf_program_profiler__read()
378 *filter_entry_cnt = perf_cpu_map__nr(evsel__cpus(evsel)); in bperf_check_target()
634 perf_cpu_map__for_each_cpu(entry, j, evsel__cpus(evsel)) { in bperf__read()
642 cpu = perf_cpu_map__cpu(evsel__cpus(evsel), i).cpu; in bperf__read()
H A Dcounts.c60 struct perf_cpu_map *cpus = evsel__cpus(evsel); in evsel__alloc_counts()
H A Dstat.c252 perf_cpu_map__for_each_idx(idx, evsel__cpus(evsel)) { in evsel__copy_prev_raw_counts()
308 struct perf_cpu_map *cpus = evsel__cpus(counter); in check_per_pkg()
690 cpu_map_idx = perf_cpu_map__idx(evsel__cpus(counter), (struct perf_cpu){.cpu = st->cpu}); in perf_event__process_stat_event()
798 return evsel__open_per_cpu(evsel, evsel__cpus(evsel), cpu_map_idx); in create_perf_stat_counter()
H A Devsel.h202 static inline struct perf_cpu_map *evsel__cpus(struct evsel *evsel) in evsel__cpus() function
209 return perf_cpu_map__nr(evsel__cpus(evsel)); in evsel__nr_cpus()
H A Dstat-display.c1129 int aggr_idx = perf_cpu_map__idx(evsel__cpus(counter), cpu); in print_no_aggr_metric()
/openbmc/linux/tools/perf/
H A Dbuiltin-stat.c272 struct perf_cpu cpu = perf_cpu_map__cpu(evsel__cpus(counter), cpu_map_idx); in evsel__write_stat_event()
354 perf_cpu_map__cpu(evsel__cpus(counter), in read_counter_cpu()
H A Dbuiltin-script.c2290 perf_cpu_map__for_each_cpu(cpu, idx, evsel__cpus(counter)) { in __process_stat()