Home
last modified time | relevance | path

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

/linux-6.1.9/tools/perf/util/
Dcpumap.c33 return (data->mask32_data.long_size == 4) in perf_record_cpu_map_data__test_bit()
34 ? (bit_word32 < data->mask32_data.nr) && in perf_record_cpu_map_data__test_bit()
35 (data->mask32_data.mask[bit_word32] & bit_mask32) != 0 in perf_record_cpu_map_data__test_bit()
45 if (data->mask32_data.long_size == 4) in perf_record_cpu_map_data__read_one_mask()
46 bitmap[0] = data->mask32_data.mask[i]; in perf_record_cpu_map_data__read_one_mask()
50 if (data->mask32_data.long_size == 4) { in perf_record_cpu_map_data__read_one_mask()
51 bitmap[0] = data->mask32_data.mask[i]; in perf_record_cpu_map_data__read_one_mask()
91 int weight = 0, mask_nr = data->mask32_data.nr; in cpu_map__from_mask()
104 int cpus_per_i = (i * data->mask32_data.long_size * BITS_PER_BYTE); in cpu_map__from_mask()
Dsession.c930 data->mask32_data.long_size = bswap_16(data->mask32_data.long_size); in perf_event__cpu_map_swap()
932 switch (data->mask32_data.long_size) { in perf_event__cpu_map_swap()
934 data->mask32_data.nr = bswap_16(data->mask32_data.nr); in perf_event__cpu_map_swap()
935 for (unsigned i = 0; i < data->mask32_data.nr; i++) in perf_event__cpu_map_swap()
936 data->mask32_data.mask[i] = bswap_32(data->mask32_data.mask[i]); in perf_event__cpu_map_swap()
Dsynthetic-events.c1243 data->data->mask32_data.nr = BITS_TO_U32(data->max_cpu); in synthesize_mask()
1244 data->data->mask32_data.long_size = 4; in synthesize_mask()
1250 data->data->mask32_data.mask[bit_word] |= bit_mask; in synthesize_mask()
/linux-6.1.9/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.1.9/tools/lib/perf/include/perf/
Devent.h215 struct perf_record_mask_cpu_map32 mask32_data; member