Lines Matching refs:cpus
36 struct perf_cpu_map *cpus; in test_stat_cpu() local
49 cpus = perf_cpu_map__new_online_cpus(); in test_stat_cpu()
50 __T("failed to create cpus", cpus); in test_stat_cpu()
69 perf_evlist__set_maps(evlist, cpus, NULL); in test_stat_cpu()
75 cpus = perf_evsel__cpus(evsel); in test_stat_cpu()
77 for (idx = 0; idx < perf_cpu_map__nr(cpus); idx++) { in test_stat_cpu()
88 perf_cpu_map__put(cpus); in test_stat_cpu()
218 struct perf_cpu_map *cpus; in test_mmap_thread() local
264 cpus = perf_cpu_map__new_any_cpu(); in test_mmap_thread()
265 __T("failed to create cpus", cpus); in test_mmap_thread()
278 perf_evlist__set_maps(evlist, cpus, threads); in test_mmap_thread()
313 perf_cpu_map__put(cpus); in test_mmap_thread()
329 struct perf_cpu_map *cpus; in test_mmap_cpus() local
353 cpus = perf_cpu_map__new_online_cpus(); in test_mmap_cpus()
354 __T("failed to create cpus", cpus); in test_mmap_cpus()
365 perf_evlist__set_maps(evlist, cpus, NULL); in test_mmap_cpus()
378 perf_cpu_map__for_each_cpu(cpu, tmp, cpus) { in test_mmap_cpus()
414 __T("failed count", count >= perf_cpu_map__nr(cpus)); in test_mmap_cpus()
416 perf_cpu_map__put(cpus); in test_mmap_cpus()