Home
last modified time | relevance | path

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

/linux-6.12.1/tools/perf/util/
Dcpumap.c34 return (data->mask32_data.long_size == 4) in perf_record_cpu_map_data__test_bit()
35 ? (bit_word32 < data->mask32_data.nr) && in perf_record_cpu_map_data__test_bit()
36 (data->mask32_data.mask[bit_word32] & bit_mask32) != 0 in perf_record_cpu_map_data__test_bit()
46 if (data->mask32_data.long_size == 4) in perf_record_cpu_map_data__read_one_mask()
47 bitmap[0] = data->mask32_data.mask[i]; in perf_record_cpu_map_data__read_one_mask()
51 if (data->mask32_data.long_size == 4) { in perf_record_cpu_map_data__read_one_mask()
52 bitmap[0] = data->mask32_data.mask[i]; in perf_record_cpu_map_data__read_one_mask()
92 int weight = 0, mask_nr = data->mask32_data.nr; in cpu_map__from_mask()
105 int cpus_per_i = (i * data->mask32_data.long_size * BITS_PER_BYTE); in cpu_map__from_mask()
Dsession.c627 data->mask32_data.long_size = bswap_16(data->mask32_data.long_size); in perf_event__cpu_map_swap()
629 switch (data->mask32_data.long_size) { in perf_event__cpu_map_swap()
631 data->mask32_data.nr = bswap_16(data->mask32_data.nr); in perf_event__cpu_map_swap()
632 for (unsigned i = 0; i < data->mask32_data.nr; i++) in perf_event__cpu_map_swap()
633 data->mask32_data.mask[i] = bswap_32(data->mask32_data.mask[i]); in perf_event__cpu_map_swap()
Dsynthetic-events.c1261 data->data->mask32_data.nr = BITS_TO_U32(data->max_cpu); in synthesize_mask()
1262 data->data->mask32_data.long_size = 4; in synthesize_mask()
1268 data->data->mask32_data.mask[bit_word] |= bit_mask; in synthesize_mask()
/linux-6.12.1/tools/perf/tests/
Dcpumap.c28 long_size = data->mask32_data.long_size; in process_event_mask()
32 TEST_ASSERT_VAL("wrong nr", data->mask32_data.nr == 1); in process_event_mask()
/linux-6.12.1/tools/lib/perf/include/perf/
Devent.h233 struct perf_record_mask_cpu_map32 mask32_data; member