Home
last modified time | relevance | path

Searched refs:cpu_list (Results 1 – 25 of 46) sorted by relevance

12

/linux/tools/perf/util/
H A Dtarget.c25 if (target->tid && target->cpu_list) { in target__validate()
26 target->cpu_list = NULL; in target__validate()
39 if (target->bpf_str && target->cpu_list) { in target__validate()
40 target->cpu_list = NULL; in target__validate()
60 if (target->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
H A Dtarget.h11 const char *cpu_list; member
59 return target->system_wide || target->cpu_list; in target__has_cpu()
H A Dtop.c98 if (target->cpu_list) in perf_top__header_snprintf()
101 target->cpu_list); in perf_top__header_snprintf()
H A Dcputopo.c164 const char *cpu_list = topology->core_cpus_list[i]; in cpu_topology__smt_on() local
170 if (strchr(cpu_list, ',') || strchr(cpu_list, '-')) in cpu_topology__smt_on()
H A Dbpf_ftrace.c61 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf()
83 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf()
H A Dbpf_off_cpu.c170 if (target->cpu_list) { in off_cpu_prepare()
236 if (target->cpu_list) { in off_cpu_prepare()
H A Dsession.h187 const char *cpu_list, unsigned long *cpu_bitmap);
/linux/tools/lib/perf/
H A Dcpumap.c163 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) in cpu_map__trim_new()
171 if (!cpu_list) in perf_cpu_map__new()
179 if (!isdigit(*cpu_list) && *cpu_list != '\0') in perf_cpu_map__new()
182 while (isdigit(*cpu_list)) { in perf_cpu_map__new()
184 start_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
190 cpu_list = ++p; in perf_cpu_map__new()
192 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
225 cpu_list = p; in perf_cpu_map__new()
230 } else if (*cpu_list ! in perf_cpu_map__new()
165 perf_cpu_map__new(const char * cpu_list) perf_cpu_map__new() argument
[all...]
/linux/arch/sparc/kernel/
H A Dsmp_64.c462 u16 *cpu_list; in spitfire_xcall_deliver() local
467 cpu_list = __va(tb->cpu_list_pa); in spitfire_xcall_deliver()
473 spitfire_xcall_helper(data0, data1, data2, pstate, cpu_list[i]); in spitfire_xcall_deliver()
484 u16 *cpu_list; in cheetah_xcall_deliver() local
486 cpu_list = __va(tb->cpu_list_pa); in cheetah_xcall_deliver()
522 nr = cpu_list[i]; in cheetah_xcall_deliver()
564 if (cpu_list[i] == 0xffff) in cheetah_xcall_deliver()
566 cpu_list[i] = 0xffff; in cheetah_xcall_deliver()
602 nr = cpu_list[i]; in cheetah_xcall_deliver()
612 cpu_list[i] = 0xffff; in cheetah_xcall_deliver()
[all …]
H A Dds.c635 u32 *cpu_list = (u32 *) (tag + 1); in dr_cpu_data() local
652 purge_dups(cpu_list, tag->num_records); in dr_cpu_data()
656 if (cpu_list[i] == CPU_SENTINEL) in dr_cpu_data()
659 if (cpu_list[i] < nr_cpu_ids) in dr_cpu_data()
660 cpumask_set_cpu(cpu_list[i], &mask); in dr_cpu_data()
/linux/scripts/gdb/linux/
H A Dcpus.py63 def cpu_list(mask_name): function
103 for cpu in cpu_list("__cpu_online_mask"):
108 for cpu in cpu_list("__cpu_present_mask"):
113 for cpu in cpu_list("__cpu_possible_mask"):
118 for cpu in cpu_list("__cpu_active_mask"):
/linux/tools/perf/
H A Dbuiltin-mem.c45 const char *cpu_list; member
105 if (mem->cpu_list) in __cmd_record()
156 if (mem->cpu_list) { in __cmd_record()
158 rec_argv[i++] = mem->cpu_list; in __cmd_record()
300 if (mem->cpu_list) { in report_raw_events()
301 ret = perf_session__cpu_bitmap(session, mem->cpu_list, in report_raw_events()
486 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
H A Dbuiltin-sched.c124 static const char *cpu_list;
2445 if (cpu_list && (sample->cpu >= MAX_NR_CPUS || in free_idle_threads()
3139 if (!cpu_list || (sample->cpu < MAX_NR_CPUS && in timehist_print_summary()
3408 if (cpu_list && !test_bit(i, cpu_bitmap)) in print_bad_events()
3611 if (cpu_list) { in setup_color_cpus()
3612 err = perf_session__cpu_bitmap(session, cpu_list, cpu_bitmap);
4211 if (cpu_list) in get_all_cpu_stats()
4212 target.cpu_list = cpu_list; in get_all_cpu_stats()
4278 struct list_head cpu_list; in show_schedstat_data()
60 static const char *cpu_list; global() variable
3939 struct list_head cpu_list; global() member
[all...]
H A Dbuiltin-annotate.c66 const char *cpu_list;
298 if (ann->cpu_list && (sample->cpu >= MAX_NR_CPUS || in process_sample_event()
546 if (ann->cpu_list) { in hists__find_annotations()
547 ret = perf_session__cpu_bitmap(session, ann->cpu_list, in hists__find_annotations()
738 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
67 const char *cpu_list; global() member
H A Dbuiltin-kwork.c472 if ((kwork->cpu_list != NULL) && in work_push_atom()
1799 if (kwork->cpu_list != NULL) { in perf_kwork__read_events()
1801 kwork->cpu_list, in perf_kwork__read_events()
2437 .cpu_list = NULL, in cmd_kwork()
2471 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2490 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2517 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2528 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
H A Dbuiltin-report.c107 const char *cpu_list;
301 if (rep->cpu_list && (sample->cpu >= MAX_NR_CPUS || in process_sample_event()
1064 if (rep->cpu_list) { in __cmd_report()
1065 ret = perf_session__cpu_bitmap(session, rep->cpu_list, in __cmd_report()
1420 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report()
105 const char *cpu_list; global() member
H A Dbuiltin-diff.c103 static const char *cpu_list; variable
419 if (cpu_list && (sample->cpu >= MAX_NR_CPUS || in diff__process_sample_event()
1193 if (cpu_list) { in __cmd_diff()
1194 ret = perf_session__cpu_bitmap(d->session, cpu_list, in __cmd_diff()
1292 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
/linux/tools/tracing/rtla/src/
H A Dutils.h92 int parse_cpu_set(char *cpu_list, cpu_set_t *set);
H A Dutils.c111 * parse_cpu_set - parse a cpu_list filling cpu_set_t argument
118 int parse_cpu_set(char *cpu_list, cpu_set_t *set) in parse_cpu_set()
127 for (p = cpu_list; *p; ) { in parse_cpu_set()
160 debug_msg("Error parsing the cpu set %s\n", cpu_list); in parse_cpu_set()
117 parse_cpu_set(char * cpu_list,cpu_set_t * set) parse_cpu_set() argument
/linux/tools/power/x86/amd_pstate_tracer/
H A Damd_pstate_trace.py255 cpu_list = "" variable
283 cpu_list = arg variable
294 if cpu_list:
295 for p in re.split("[,]", cpu_list):
/linux/tools/power/x86/intel_pstate_tracer/
H A Dintel_pstate_tracer.py503 cpu_list = "" variable
528 cpu_list = arg
543 if cpu_list:
544 for p in re.split("[,]", cpu_list):
530 cpu_list = arg global() variable
/linux/tools/lib/perf/include/perf/
H A Dcpumap.h41 * perf_cpu_map__new - create a map from the given cpu_list such as "0-7". If no
42 * cpu_list argument is provided then
45 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
/linux/drivers/block/mtip32xx/
H A Dmtip32xx.c3707 char cpu_list[256]; in mtip_pci_probe() local
3761 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe()
3767 snprintf(&cpu_list[j], 256 - j, "%d ", cpu); in mtip_pci_probe()
3768 j = strlen(cpu_list); in mtip_pci_probe()
3775 cpu_list); in mtip_pci_probe()
3795 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe()
3798 snprintf(&cpu_list[j], 256 - j, "%d ", i); in mtip_pci_probe()
3799 j = strlen(cpu_list); in mtip_pci_probe()
3803 dev_info(&pdev->dev, "CPU %d: WQs %s\n", cpu, cpu_list); in mtip_pci_probe()
/linux/tools/perf/bench/
H A Dsynthesize.c219 .cpu_list = "0" in run_multi_threaded()
H A Devlist-open-close.c233 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", in bench_evlist_open_close()

12