Lines Matching refs:cpus
19 static int _get_cpuid(char *buf, size_t sz, struct perf_cpu_map *cpus) in _get_cpuid() argument
28 cpus = perf_cpu_map__get(cpus); in _get_cpuid()
30 for (cpu = 0; cpu < perf_cpu_map__nr(cpus); cpu++) { in _get_cpuid()
35 sysfs, RC_CHK_ACCESS(cpus)->map[cpu].cpu); in _get_cpuid()
54 perf_cpu_map__put(cpus); in _get_cpuid()
60 struct perf_cpu_map *cpus = perf_cpu_map__new(NULL); in get_cpuid() local
63 if (!cpus) in get_cpuid()
66 ret = _get_cpuid(buf, sz, cpus); in get_cpuid()
68 perf_cpu_map__put(cpus); in get_cpuid()
78 if (!pmu || !pmu->cpus) in get_cpuid_str()
86 res = _get_cpuid(buf, MIDR_SIZE, pmu->cpus); in get_cpuid_str()