Home
last modified time | relevance | path

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

/openbmc/linux/tools/tracing/rtla/src/
H A 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()
/openbmc/linux/tools/lib/perf/
H A 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()
/openbmc/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()
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.c951 data->range_cpu_data.end_cpu = bswap_16(data->range_cpu_data.end_cpu); in perf_event__cpu_map_swap()
H A Dsynthetic-events.c1261 data->data->range_cpu_data.end_cpu = data->max_cpu; in synthesize_range_cpus()
/openbmc/linux/tools/perf/tests/
H A Dcpumap.c91 TEST_ASSERT_VAL("wrong end_cpu", data->range_cpu_data.end_cpu == 256); in process_event_range_cpus()
/openbmc/linux/tools/power/x86/x86_energy_perf_policy/
H A 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()
/openbmc/linux/tools/lib/perf/include/perf/
H A Devent.h218 __u16 end_cpu; member