Searched refs:cpu_list (Results 1 - 25 of 50) sorted by relevance

12

/linux-master/tools/perf/util/
H A Dtarget.c25 if (target->tid && target->cpu_list) {
26 target->cpu_list = NULL;
39 if (target->uid_str && target->cpu_list) {
40 target->cpu_list = NULL;
60 if (target->bpf_str && target->cpu_list) {
61 target->cpu_list = NULL;
88 if (target->per_thread && (target->system_wide || target->cpu_list)) {
H A Dtarget.h11 const char *cpu_list; member in struct:target
67 return target->system_wide || target->cpu_list;
H A Dbpf_ftrace.c40 if (ftrace->target.cpu_list) {
58 if (ftrace->target.cpu_list) {
H A Dtop.c98 if (target->cpu_list)
101 target->cpu_list);
H A Dbpf_kwork.c154 if (kwork->cpu_list != NULL) {
161 map = perf_cpu_map__new(kwork->cpu_list);
163 pr_debug("Invalid cpu_list\n");
H A Dbpf_kwork_top.c129 if (kwork->cpu_list) {
136 map = perf_cpu_map__new(kwork->cpu_list);
138 pr_debug("Invalid cpu_list\n");
H A Dcputopo.c164 const char *cpu_list = topology->core_cpus_list[i]; local
170 if (strchr(cpu_list, ',') || strchr(cpu_list, '-'))
H A Dkwork.h214 const char *cpu_list; member in struct:perf_kwork
H A Dsession.h142 const char *cpu_list, unsigned long *cpu_bitmap);
H A Dbpf_off_cpu.c148 if (target->cpu_list) {
207 if (target->cpu_list) {
H A Devlist.c1068 cpus = perf_cpu_map__new(target->cpu_list);
1073 evlist->core.has_user_cpus = !!target->cpu_list;
2497 * @cpu_list: The user provided list of CPUs.
2499 void evlist__warn_user_requested_cpus(struct evlist *evlist, const char *cpu_list) argument
2504 if (!cpu_list)
2507 user_requested_cpus = perf_cpu_map__new(cpu_list);
2522 cpu_list, pmu ? pmu->name : "cpu", buf, evsel__name(pos));
/linux-master/tools/tracing/rtla/src/
H A Dutils.h26 int parse_cpu_list(char *cpu_list, char **monitored_cpus);
61 int parse_cpu_set(char *cpu_list, cpu_set_t *set);
H A Dutils.c92 * parse_cpu_set - parse a cpu_list filling cpu_set_t argument
99 int parse_cpu_set(char *cpu_list, cpu_set_t *set) argument
111 for (p = cpu_list; *p; ) {
144 debug_msg("Error parsing the cpu set %s\n", cpu_list);
/linux-master/scripts/gdb/linux/
H A Dcpus.py67 def cpu_list(mask_name): function
107 for cpu in cpu_list("__cpu_online_mask"):
112 for cpu in cpu_list("__cpu_present_mask"):
117 for cpu in cpu_list("__cpu_possible_mask"):
122 for cpu in cpu_list("__cpu_active_mask"):
/linux-master/tools/lib/perf/
H A Dcpumap.c213 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) argument
222 if (!cpu_list)
230 if (!isdigit(*cpu_list) && *cpu_list != '\0')
233 while (isdigit(*cpu_list)) {
235 start_cpu = strtoul(cpu_list, &p, 0);
241 cpu_list = ++p;
243 end_cpu = strtoul(cpu_list, &p, 0);
275 cpu_list = p;
280 else if (*cpu_list !
[all...]
/linux-master/arch/sparc/kernel/
H A Dsmp_64.c465 u16 *cpu_list; local
470 cpu_list = __va(tb->cpu_list_pa);
476 spitfire_xcall_helper(data0, data1, data2, pstate, cpu_list[i]);
487 u16 *cpu_list; local
489 cpu_list = __va(tb->cpu_list_pa);
525 nr = cpu_list[i];
567 if (cpu_list[i] == 0xffff)
569 cpu_list[i] = 0xffff;
605 nr = cpu_list[i];
615 cpu_list[
654 u16 *cpu_list; local
791 u16 *cpu_list; local
[all...]
H A Dds.c635 u32 *cpu_list = (u32 *) (tag + 1); local
652 purge_dups(cpu_list, tag->num_records);
656 if (cpu_list[i] == CPU_SENTINEL)
659 if (cpu_list[i] < nr_cpu_ids)
660 cpumask_set_cpu(cpu_list[i], &mask);
/linux-master/tools/perf/
H A Dbuiltin-mem.c38 const char *cpu_list; member in struct:perf_mem
111 if (mem->cpu_list)
167 if (mem->cpu_list) {
169 rec_argv[i++] = mem->cpu_list;
295 if (mem->cpu_list) {
296 ret = perf_session__cpu_bitmap(session, mem->cpu_list,
483 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu",
H A Dbuiltin-annotate.c64 const char *cpu_list; member in struct:perf_annotate
298 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap))
601 if (ann->cpu_list) {
602 ret = perf_session__cpu_bitmap(session, ann->cpu_list,
790 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"),
H A Dbuiltin-kwork.c426 if ((kwork->cpu_list != NULL) && !test_bit(cpu, kwork->cpu_bitmap))
1759 if (kwork->cpu_list != NULL) {
1761 kwork->cpu_list,
2337 .cpu_list = NULL,
2370 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu",
2389 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu",
2416 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu",
2427 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu",
/linux-master/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py255 cpu_list = "" variable
283 cpu_list = arg
294 if cpu_list:
295 for p in re.split("[,]", cpu_list):
/linux-master/tools/lib/perf/include/perf/
H A Dcpumap.h35 * perf_cpu_map__new - create a map from the given cpu_list such as "0-7". If no
36 * cpu_list argument is provided then
39 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
/linux-master/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py503 cpu_list = ""
530 cpu_list = arg
541 if cpu_list:
542 for p in re.split("[,]", cpu_list):
/linux-master/tools/perf/bench/
H A Dsynthesize.c207 .cpu_list = "0"
H A Devlist-open-close.c55 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", "list of cpus where to open events"),

Completed in 452 milliseconds

12