Lines Matching full:cpus
30 struct perf_cpu_map *cpus; in test_stat_cpu() local
43 cpus = perf_cpu_map__new(NULL); in test_stat_cpu()
44 __T("failed to create cpus", cpus); in test_stat_cpu()
59 perf_evlist__set_maps(evlist, cpus, NULL); in test_stat_cpu()
65 cpus = perf_evsel__cpus(evsel); in test_stat_cpu()
67 perf_cpu_map__for_each_cpu(cpu, tmp, cpus) { in test_stat_cpu()
78 perf_cpu_map__put(cpus); in test_stat_cpu()
200 struct perf_cpu_map *cpus; in test_mmap_thread() local
245 cpus = perf_cpu_map__dummy_new(); in test_mmap_thread()
246 __T("failed to create cpus", cpus); in test_mmap_thread()
258 perf_evlist__set_maps(evlist, cpus, threads); in test_mmap_thread()
293 perf_cpu_map__put(cpus); in test_mmap_thread()
309 struct perf_cpu_map *cpus; in test_mmap_cpus() local
332 cpus = perf_cpu_map__new(NULL); in test_mmap_cpus()
333 __T("failed to create cpus", cpus); in test_mmap_cpus()
343 perf_evlist__set_maps(evlist, cpus, NULL); in test_mmap_cpus()
356 perf_cpu_map__for_each_cpu(cpu, tmp, cpus) { in test_mmap_cpus()
390 * number of cpus or be bigger (we are system-wide). in test_mmap_cpus()
392 __T("failed count", count >= perf_cpu_map__nr(cpus)); in test_mmap_cpus()
394 perf_cpu_map__put(cpus); in test_mmap_cpus()