Lines Matching defs:cpus
141 struct perf_cpu_map *cpus;
169 if (!a->core.cpus && !b->core.cpus)
172 if (!a->core.cpus || !b->core.cpus)
175 if (perf_cpu_map__nr(a->core.cpus) != perf_cpu_map__nr(b->core.cpus))
178 for (int i = 0; i < perf_cpu_map__nr(a->core.cpus); i++) {
179 if (perf_cpu_map__cpu(a->core.cpus, i).cpu !=
180 perf_cpu_map__cpu(b->core.cpus, i).cpu)
194 /* Check that leader matches cpus with each member. */
204 pr_warning("WARNING: grouped events cpus do not match.\n"
214 cpu_map__snprint(leader->core.cpus, buf, sizeof(buf));
216 cpu_map__snprint(evsel->core.cpus, buf, sizeof(buf));
1185 OPT_BOOLEAN('a', "all-cpus", &target.system_wide,
1205 "list of cpus to monitor in system-wide"),
1621 * The evsel_list->cpus is the base we operate on,
2292 if (perf_cpu_map__empty(st->cpus)) {
2317 if (!st->cpus || !st->threads)
2323 perf_evlist__set_maps(&evsel_list->core, st->cpus, st->threads);
2357 struct perf_cpu_map *cpus;
2359 if (st->cpus) {
2364 cpus = cpu_map__new_data(&event->cpu_map.data);
2365 if (!cpus)
2368 st->cpus = cpus;