Home
last modified time | relevance | path

Searched refs:end_cpu (Results 1 – 8 of 8) sorted by relevance

/linux-6.6.21/tools/tracing/rtla/src/
Dutils.c102 int end_cpu; in parse_cpu_set() local
120 end_cpu = atoi(p); in parse_cpu_set()
121 if (end_cpu < cpu || (!end_cpu && *p != '0') || end_cpu >= nr_cpus) in parse_cpu_set()
126 end_cpu = cpu; in parse_cpu_set()
128 if (cpu == end_cpu) { in parse_cpu_set()
132 for (i = cpu; i <= end_cpu; i++) { in parse_cpu_set()
/linux-6.6.21/tools/lib/perf/
Dcpumap.c207 unsigned long start_cpu, end_cpu = 0; in perf_cpu_map__new() local
234 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
236 if (end_cpu >= INT_MAX || (*p != '\0' && *p != ',')) in perf_cpu_map__new()
239 if (end_cpu < start_cpu) in perf_cpu_map__new()
242 end_cpu = start_cpu; in perf_cpu_map__new()
245 WARN_ONCE(end_cpu >= MAX_NR_CPUS, "Perf can support %d CPUs. " in perf_cpu_map__new()
248 for (; start_cpu <= end_cpu; start_cpu++) { in perf_cpu_map__new()
/linux-6.6.21/tools/perf/util/
Dcpumap.c121 map = perf_cpu_map__empty_new(data->range_cpu_data.end_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()
Dsession.c946 data->range_cpu_data.end_cpu = bswap_16(data->range_cpu_data.end_cpu); in perf_event__cpu_map_swap()
Dsynthetic-events.c1261 data->data->range_cpu_data.end_cpu = data->max_cpu; in synthesize_range_cpus()
/linux-6.6.21/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c398 int end_cpu; in parse_cmdline_cpu() local
401 end_cpu = strtol(startp, &endp, 10); in parse_cmdline_cpu()
405 while (cpu <= end_cpu) { in parse_cmdline_cpu()
/linux-6.6.21/tools/perf/tests/
Dcpumap.c91 TEST_ASSERT_VAL("wrong end_cpu", data->range_cpu_data.end_cpu == 256); in process_event_range_cpus()
/linux-6.6.21/tools/lib/perf/include/perf/
Devent.h218 __u16 end_cpu; member