Lines Matching refs:cpus
63 struct cpu_map *cpus; in perf_probe_api() local
66 cpus = cpu_map__new(NULL); in perf_probe_api()
67 if (!cpus) in perf_probe_api()
69 cpu = cpus->map[0]; in perf_probe_api()
70 cpu_map__put(cpus); in perf_probe_api()
118 struct cpu_map *cpus; in perf_can_record_cpu_wide() local
121 cpus = cpu_map__new(NULL); in perf_can_record_cpu_wide()
122 if (!cpus) in perf_can_record_cpu_wide()
124 cpu = cpus->map[0]; in perf_can_record_cpu_wide()
125 cpu_map__put(cpus); in perf_can_record_cpu_wide()
150 if (evlist->cpus->map[0] < 0) in perf_evlist__config()
277 if (!evlist || cpu_map__empty(evlist->cpus)) { in perf_evlist__can_select_event()
278 struct cpu_map *cpus = cpu_map__new(NULL); in perf_evlist__can_select_event() local
280 cpu = cpus ? cpus->map[0] : 0; in perf_evlist__can_select_event()
281 cpu_map__put(cpus); in perf_evlist__can_select_event()
283 cpu = evlist->cpus->map[0]; in perf_evlist__can_select_event()