Lines Matching refs:cpus
17 static int _get_cpuid(char *buf, size_t sz, struct perf_cpu_map *cpus) in _get_cpuid() argument
26 cpus = perf_cpu_map__get(cpus); in _get_cpuid()
28 for (cpu = 0; cpu < perf_cpu_map__nr(cpus); cpu++) { in _get_cpuid()
33 sysfs, cpus->map[cpu]); in _get_cpuid()
57 perf_cpu_map__put(cpus); in _get_cpuid()
67 struct perf_cpu_map *cpus = perf_cpu_map__new(NULL); in get_cpuid() local
70 if (!cpus) in get_cpuid()
73 ret = _get_cpuid(buf, sz, cpus); in get_cpuid()
75 perf_cpu_map__put(cpus); in get_cpuid()
85 if (!pmu || !pmu->cpus) in get_cpuid_str()
93 res = _get_cpuid(buf, MIDR_SIZE, pmu->cpus); in get_cpuid_str()