Lines Matching defs:cpus
685 * may have a "cpus" file.
689 struct perf_cpu_map *cpus;
692 "cpus",
705 cpus = perf_cpu_map__read(file);
707 if (cpus)
708 return cpus;
745 * possible the cpus file in sysfs files to identify whether this is a
753 if (!perf_pmu__pathname_scnprintf(path, sizeof(path), name, "cpus"))
999 pmu->cpus = pmu_cpumask(dirfd, name, pmu->is_core);
1042 pmu->cpus = cpu_map__online();
2053 perf_cpu_map__put(pmu->cpus);
2071 if (RC_CHK_ACCESS(pmu->cpus)->nr != cpu__max_cpu().cpu)