Lines Matching full:cpus
54 struct cpu_map_entries *cpus; in process_event_cpus() local
62 cpus = (struct cpu_map_entries *)data->data; in process_event_cpus()
64 TEST_ASSERT_VAL("wrong nr", cpus->nr == 2); in process_event_cpus()
65 TEST_ASSERT_VAL("wrong cpu", cpus->cpu[0] == 1); in process_event_cpus()
66 TEST_ASSERT_VAL("wrong cpu", cpus->cpu[1] == 256); in process_event_cpus()
80 struct perf_cpu_map *cpus; in test__cpu_map_synthesize() local
83 cpus = perf_cpu_map__new("0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19"); in test__cpu_map_synthesize()
86 !perf_event__synthesize_cpu_map(NULL, cpus, process_event_mask, NULL)); in test__cpu_map_synthesize()
88 perf_cpu_map__put(cpus); in test__cpu_map_synthesize()
91 cpus = perf_cpu_map__new("1,256"); in test__cpu_map_synthesize()
94 !perf_event__synthesize_cpu_map(NULL, cpus, process_event_cpus, NULL)); in test__cpu_map_synthesize()
96 perf_cpu_map__put(cpus); in test__cpu_map_synthesize()