Searched refs:cpus_data (Results 1 – 5 of 5) sorted by relevance
63 TEST_ASSERT_VAL("wrong nr", data->cpus_data.nr == 2); in process_event_cpus()64 TEST_ASSERT_VAL("wrong cpu", data->cpus_data.cpu[0] == 1); in process_event_cpus()65 TEST_ASSERT_VAL("wrong cpu", data->cpus_data.cpu[1] == 256); in process_event_cpus()
69 map = perf_cpu_map__empty_new(data->cpus_data.nr); in cpu_map__from_entries()73 for (i = 0; i < data->cpus_data.nr; i++) { in cpu_map__from_entries()79 if (data->cpus_data.cpu[i] == (u16) -1) in cpu_map__from_entries()82 RC_CHK_ACCESS(map)->map[i].cpu = (int) data->cpus_data.cpu[i]; in cpu_map__from_entries()
621 data->cpus_data.nr = bswap_16(data->cpus_data.nr); in perf_event__cpu_map_swap()623 for (unsigned i = 0; i < data->cpus_data.nr; i++) in perf_event__cpu_map_swap()624 data->cpus_data.cpu[i] = bswap_16(data->cpus_data.cpu[i]); in perf_event__cpu_map_swap()
1249 data->data->cpus_data.nr = data->nr; in synthesize_cpus()1251 data->data->cpus_data.cpu[i] = perf_cpu_map__cpu(data->map, i).cpu; in synthesize_cpus()
231 struct cpu_map_entries cpus_data; member