Home
last modified time | relevance | path

Searched refs:cpus_data (Results 1 – 5 of 5) sorted by relevance

/linux-6.1.9/tools/perf/tests/
Dcpumap.c63 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()
/linux-6.1.9/tools/perf/util/
Dcpumap.c68 map = perf_cpu_map__empty_new(data->cpus_data.nr); in cpu_map__from_entries()
72 for (i = 0; i < data->cpus_data.nr; i++) { in cpu_map__from_entries()
78 if (data->cpus_data.cpu[i] == (u16) -1) in cpu_map__from_entries()
81 map->map[i].cpu = (int) data->cpus_data.cpu[i]; in cpu_map__from_entries()
Dsession.c924 data->cpus_data.nr = bswap_16(data->cpus_data.nr); in perf_event__cpu_map_swap()
926 for (unsigned i = 0; i < data->cpus_data.nr; i++) in perf_event__cpu_map_swap()
927 data->cpus_data.cpu[i] = bswap_16(data->cpus_data.cpu[i]); in perf_event__cpu_map_swap()
Dsynthetic-events.c1231 data->data->cpus_data.nr = data->nr; in synthesize_cpus()
1233 data->data->cpus_data.cpu[i] = perf_cpu_map__cpu(data->map, i).cpu; in synthesize_cpus()
/linux-6.1.9/tools/lib/perf/include/perf/
Devent.h213 struct cpu_map_entries cpus_data; member