Home
last modified time | relevance | path

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

/linux/tools/perf/util/
H A Dcpumap.c121 map = perf_cpu_map__empty_new(data->range_cpu_data.end_cpu - in cpu_map__from_range()
122 data->range_cpu_data.start_cpu + 1 + data->range_cpu_data.any_cpu); in cpu_map__from_range()
126 if (data->range_cpu_data.any_cpu) in cpu_map__from_range()
129 for (int cpu = data->range_cpu_data.start_cpu; cpu <= data->range_cpu_data.end_cpu; in cpu_map__from_range()
H A Dsession.c645 data->range_cpu_data.start_cpu = bswap_16(data->range_cpu_data.start_cpu); in perf_event__cpu_map_swap()
646 data->range_cpu_data.end_cpu = bswap_16(data->range_cpu_data.end_cpu); in perf_event__cpu_map_swap()
H A Dsynthetic-events.c1275 data->data->range_cpu_data.any_cpu = data->has_any_cpu; in synthesize_range_cpus()
1276 data->data->range_cpu_data.start_cpu = data->min_cpu; in synthesize_range_cpus()
1277 data->data->range_cpu_data.end_cpu = data->max_cpu; in synthesize_range_cpus()
/linux/tools/perf/tests/
H A Dcpumap.c89 TEST_ASSERT_VAL("wrong any_cpu", data->range_cpu_data.any_cpu == 0); in process_event_range_cpus()
90 TEST_ASSERT_VAL("wrong start_cpu", data->range_cpu_data.start_cpu == 1); in process_event_range_cpus()
91 TEST_ASSERT_VAL("wrong end_cpu", data->range_cpu_data.end_cpu == 256); in process_event_range_cpus()
/linux/tools/lib/perf/include/perf/
H A Devent.h237 struct perf_record_range_cpu_map range_cpu_data; member