Lines Matching full:cpus
32 struct perf_cpu_map *cpus; in test_stat_cpu() local
45 cpus = perf_cpu_map__new(NULL); in test_stat_cpu()
46 __T("failed to create cpus", cpus); in test_stat_cpu()
65 perf_evlist__set_maps(evlist, cpus, NULL); in test_stat_cpu()
71 cpus = perf_evsel__cpus(evsel); in test_stat_cpu()
73 for (idx = 0; idx < perf_cpu_map__nr(cpus); idx++) { in test_stat_cpu()
84 perf_cpu_map__put(cpus); in test_stat_cpu()
214 struct perf_cpu_map *cpus; in test_mmap_thread() local
260 cpus = perf_cpu_map__dummy_new(); in test_mmap_thread()
261 __T("failed to create cpus", cpus); in test_mmap_thread()
274 perf_evlist__set_maps(evlist, cpus, threads); in test_mmap_thread()
309 perf_cpu_map__put(cpus); in test_mmap_thread()
325 struct perf_cpu_map *cpus; in test_mmap_cpus() local
348 cpus = perf_cpu_map__new(NULL); in test_mmap_cpus()
349 __T("failed to create cpus", cpus); in test_mmap_cpus()
360 perf_evlist__set_maps(evlist, cpus, NULL); in test_mmap_cpus()
373 perf_cpu_map__for_each_cpu(cpu, tmp, cpus) { in test_mmap_cpus()
407 * number of cpus or be bigger (we are system-wide). in test_mmap_cpus()
409 __T("failed count", count >= perf_cpu_map__nr(cpus)); in test_mmap_cpus()
411 perf_cpu_map__put(cpus); in test_mmap_cpus()