Lines Matching refs:cpus
31 void perf_evlist__init(struct perf_evlist *evlist, struct cpu_map *cpus, in perf_evlist__init() argument
39 perf_evlist__set_maps(evlist, cpus, threads); in perf_evlist__init()
42 struct perf_evlist *perf_evlist__new(struct cpu_map *cpus, in perf_evlist__new() argument
48 perf_evlist__init(evlist, cpus, threads); in perf_evlist__new()
103 int nfds = evlist->cpus->nr * evlist->threads->nr * evlist->nr_entries; in perf_evlist__alloc_pollfd()
259 evlist->nr_mmaps = evlist->cpus->nr; in perf_evlist__alloc_mmap()
260 if (evlist->cpus->map[0] == -1) in perf_evlist__alloc_mmap()
285 for (cpu = 0; cpu < evlist->cpus->nr; cpu++) { in perf_evlist__mmap_per_cpu()
312 for (cpu = 0; cpu < evlist->cpus->nr; cpu++) { in perf_evlist__mmap_per_cpu()
380 const struct cpu_map *cpus = evlist->cpus; in perf_evlist__mmap() local
396 perf_evsel__alloc_id(evsel, cpus->nr, threads->nr) < 0) in perf_evlist__mmap()
400 if (evlist->cpus->map[0] == -1) in perf_evlist__mmap()
415 evlist->cpus = cpu_map__dummy_new(); in perf_evlist__create_maps()
417 evlist->cpus = cpu_map__new(cpu_list); in perf_evlist__create_maps()
419 if (evlist->cpus == NULL) in perf_evlist__create_maps()
431 cpu_map__delete(evlist->cpus); in perf_evlist__delete_maps()
433 evlist->cpus = NULL; in perf_evlist__delete_maps()
440 const struct cpu_map *cpus = evlist->cpus; in perf_evlist__set_filters() local
452 for (cpu = 0; cpu < cpus->nr; cpu++) { in perf_evlist__set_filters()