/Linux-v6.6/tools/perf/util/ |
D | target.c | 25 if (target->tid && target->cpu_list) { in target__validate() 26 target->cpu_list = NULL; in target__validate() 39 if (target->uid_str && target->cpu_list) { in target__validate() 40 target->cpu_list = NULL; in target__validate() 60 if (target->bpf_str && target->cpu_list) { in target__validate() 61 target->cpu_list = NULL; in target__validate() 88 if (target->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
|
D | target.h | 11 const char *cpu_list; member 67 return target->system_wide || target->cpu_list; in target__has_cpu()
|
D | top.c | 96 if (target->cpu_list) in perf_top__header_snprintf() 100 target->cpu_list); in perf_top__header_snprintf()
|
D | bpf_ftrace.c | 40 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf() 58 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf()
|
D | cputopo.c | 164 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()
|
D | bpf_kwork.c | 154 if (kwork->cpu_list != NULL) { in setup_filters() 161 map = perf_cpu_map__new(kwork->cpu_list); in setup_filters()
|
D | bpf_off_cpu.c | 145 if (target->cpu_list) { in off_cpu_prepare() 204 if (target->cpu_list) { in off_cpu_prepare()
|
D | kwork.h | 186 const char *cpu_list; member
|
D | session.h | 140 const char *cpu_list, unsigned long *cpu_bitmap);
|
D | evlist.c | 1060 cpus = perf_cpu_map__new(target->cpu_list); in evlist__create_maps() 1065 evlist->core.has_user_cpus = !!target->cpu_list; in evlist__create_maps() 2473 void evlist__warn_user_requested_cpus(struct evlist *evlist, const char *cpu_list) in evlist__warn_user_requested_cpus() argument 2478 if (!cpu_list) in evlist__warn_user_requested_cpus() 2481 user_requested_cpus = perf_cpu_map__new(cpu_list); in evlist__warn_user_requested_cpus() 2496 cpu_list, pmu ? pmu->name : "cpu", buf, evsel__name(pos)); in evlist__warn_user_requested_cpus()
|
/Linux-v6.6/tools/lib/perf/ |
D | cpumap.c | 204 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) in perf_cpu_map__new() argument 213 if (!cpu_list) in perf_cpu_map__new() 221 if (!isdigit(*cpu_list) && *cpu_list != '\0') in perf_cpu_map__new() 224 while (isdigit(*cpu_list)) { in perf_cpu_map__new() 226 start_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new() 232 cpu_list = ++p; in perf_cpu_map__new() 234 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new() 266 cpu_list = p; in perf_cpu_map__new() 271 else if (*cpu_list != '\0') in perf_cpu_map__new()
|
/Linux-v6.6/scripts/gdb/linux/ |
D | cpus.py | 67 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-v6.6/arch/sparc/kernel/ |
D | smp_64.c | 465 u16 *cpu_list; in spitfire_xcall_deliver() local 470 cpu_list = __va(tb->cpu_list_pa); in spitfire_xcall_deliver() 476 spitfire_xcall_helper(data0, data1, data2, pstate, cpu_list[i]); in spitfire_xcall_deliver() 487 u16 *cpu_list; in cheetah_xcall_deliver() local 489 cpu_list = __va(tb->cpu_list_pa); in cheetah_xcall_deliver() 525 nr = cpu_list[i]; in cheetah_xcall_deliver() 567 if (cpu_list[i] == 0xffff) in cheetah_xcall_deliver() 569 cpu_list[i] = 0xffff; in cheetah_xcall_deliver() 605 nr = cpu_list[i]; in cheetah_xcall_deliver() 615 cpu_list[i] = 0xffff; in cheetah_xcall_deliver() [all …]
|
D | ds.c | 635 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-v6.6/tools/perf/ |
D | builtin-mem.c | 38 const char *cpu_list; member 98 if (mem->cpu_list) in __cmd_record() 163 if (mem->cpu_list) { in __cmd_record() 165 rec_argv[i++] = mem->cpu_list; in __cmd_record() 295 if (mem->cpu_list) { in report_raw_events() 296 ret = perf_session__cpu_bitmap(session, mem->cpu_list, in report_raw_events() 483 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
|
D | builtin-annotate.c | 61 const char *cpu_list; member 291 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event() 418 if (ann->cpu_list) { in __cmd_annotate() 419 ret = perf_session__cpu_bitmap(session, ann->cpu_list, in __cmd_annotate() 570 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
|
D | builtin-kwork.c | 372 if ((kwork->cpu_list != NULL) && !test_bit(cpu, kwork->cpu_bitmap)) in profile_event_match() 1362 if (kwork->cpu_list != NULL) { in perf_kwork__check_config() 1364 kwork->cpu_list, in perf_kwork__check_config() 1705 .cpu_list = NULL, in cmd_kwork() 1737 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 1756 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 1783 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
|
D | builtin-report.c | 103 const char *cpu_list; member 302 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event() 964 if (rep->cpu_list) { in __cmd_report() 965 ret = perf_session__cpu_bitmap(session, rep->cpu_list, in __cmd_report() 1325 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report()
|
/Linux-v6.6/tools/tracing/rtla/src/ |
D | utils.h | 24 int parse_cpu_list(char *cpu_list, char **monitored_cpus); 59 int parse_cpu_set(char *cpu_list, cpu_set_t *set);
|
D | utils.c | 99 int parse_cpu_set(char *cpu_list, cpu_set_t *set) in parse_cpu_set() argument 111 for (p = cpu_list; *p; ) { in parse_cpu_set() 144 debug_msg("Error parsing the cpu set %s\n", cpu_list); in parse_cpu_set()
|
/Linux-v6.6/tools/power/x86/amd_pstate_tracer/ |
D | amd_pstate_trace.py | 256 cpu_list = "" variable 284 cpu_list = arg variable 295 if cpu_list: 296 for p in re.split("[,]", cpu_list):
|
/Linux-v6.6/tools/power/x86/intel_pstate_tracer/ |
D | intel_pstate_tracer.py | 503 cpu_list = "" variable 530 cpu_list = arg variable 541 if cpu_list: 542 for p in re.split("[,]", cpu_list):
|
/Linux-v6.6/tools/lib/perf/include/perf/ |
D | cpumap.h | 26 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
|
/Linux-v6.6/drivers/block/mtip32xx/ |
D | mtip32xx.c | 3698 char cpu_list[256]; in mtip_pci_probe() local 3758 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe() 3764 snprintf(&cpu_list[j], 256 - j, "%d ", cpu); in mtip_pci_probe() 3765 j = strlen(cpu_list); in mtip_pci_probe() 3772 cpu_list); in mtip_pci_probe() 3792 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe() 3795 snprintf(&cpu_list[j], 256 - j, "%d ", i); in mtip_pci_probe() 3796 j = strlen(cpu_list); in mtip_pci_probe() 3800 dev_info(&pdev->dev, "CPU %d: WQs %s\n", cpu, cpu_list); in mtip_pci_probe()
|
/Linux-v6.6/tools/perf/bench/ |
D | synthesize.c | 207 .cpu_list = "0" in run_multi_threaded()
|