Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/tools/lib/perf/
Dcpumap.c171 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) in perf_cpu_map__new() argument
180 if (!cpu_list) in perf_cpu_map__new()
188 if (!isdigit(*cpu_list) && *cpu_list != '\0') in perf_cpu_map__new()
191 while (isdigit(*cpu_list)) { in perf_cpu_map__new()
193 start_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
199 cpu_list = ++p; in perf_cpu_map__new()
201 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
233 cpu_list = p; in perf_cpu_map__new()
238 else if (*cpu_list != '\0') in perf_cpu_map__new()
/kernel/linux/linux-5.10/tools/perf/util/
Dtarget.c25 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->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
Dtarget.h11 const char *cpu_list; member
59 return target->system_wide || target->cpu_list; in target__has_cpu()
Dtop.c96 if (target->cpu_list) in perf_top__header_snprintf()
99 target->cpu_list); in perf_top__header_snprintf()
Dsession.h122 const char *cpu_list, unsigned long *cpu_bitmap);
Dstat-display.c1032 else if (_target->cpu_list) in print_header()
1033 fprintf(output, "\'CPU(s) %s", _target->cpu_list); in print_header()
Devlist.c948 cpus = perf_cpu_map__new(target->cpu_list); in perf_evlist__create_maps()
953 evlist->core.has_user_cpus = !!target->cpu_list; in perf_evlist__create_maps()
/kernel/uniproton/build/uniproton_ci_lib/
Dget_config_info.py56 cpu_list = config_tree.documentElement.getElementsByTagName(nameNode)
59 for cpu in cpu_list:
71 for cpu in cpu_list:
93 cpu_list = config_tree.documentElement.getElementsByTagName(nameNode)
94 compile_mode = getNodeValue(cpu_list[0])
/kernel/linux/linux-5.10/scripts/gdb/linux/
Dcpus.py64 def cpu_list(mask_name): function
104 for cpu in cpu_list("__cpu_online_mask"):
109 for cpu in cpu_list("__cpu_present_mask"):
114 for cpu in cpu_list("__cpu_possible_mask"):
119 for cpu in cpu_list("__cpu_active_mask"):
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dsmp_64.c465 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 …]
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()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-mem.c33 const char *cpu_list; member
246 if (mem->cpu_list) { in report_raw_events()
247 ret = perf_session__cpu_bitmap(session, mem->cpu_list, in report_raw_events()
409 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
Dbuiltin-annotate.c54 const char *cpu_list; member
275 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event()
395 if (ann->cpu_list) { in __cmd_annotate()
396 ret = perf_session__cpu_bitmap(session, ann->cpu_list, in __cmd_annotate()
525 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
Dbuiltin-report.c91 const char *cpu_list; member
276 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event()
899 if (rep->cpu_list) { in __cmd_report()
900 ret = perf_session__cpu_bitmap(session, rep->cpu_list, in __cmd_report()
1249 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report()
Dbuiltin-diff.c102 static const char *cpu_list; variable
418 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) { in diff__process_sample_event()
1204 if (cpu_list) { in __cmd_diff()
1205 ret = perf_session__cpu_bitmap(d->session, cpu_list, in __cmd_diff()
1303 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
Dbuiltin-sched.c54 static const char *cpu_list; variable
2016 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) in timehist_print_sample()
2590 if (!cpu_list || test_bit(sample->cpu, cpu_bitmap)) in timehist_sched_change_event()
2864 if (cpu_list && !test_bit(i, cpu_bitmap)) in timehist_print_summary()
3018 if (cpu_list) { in perf_sched__timehist()
3019 err = perf_session__cpu_bitmap(session, cpu_list, cpu_bitmap); in perf_sched__timehist()
3501 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_sched()
Dbuiltin-ftrace.c903 OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu", in cmd_ftrace()
Dbuiltin-script.c76 static const char *cpu_list; variable
2098 if (cpu_list && sample->cpu != (u32)-1) in filter_cpu()
3533 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_script()
3842 if (cpu_list) { in cmd_script()
3843 err = perf_session__cpu_bitmap(session, cpu_list, cpu_bitmap); in cmd_script()
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/
Dcpumap.h12 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
/kernel/linux/linux-5.10/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py505 cpu_list = "" variable
532 cpu_list = arg variable
543 if cpu_list:
544 for p in re.split("[,]", cpu_list):
/kernel/linux/linux-5.10/tools/perf/bench/
Dsynthesize.c207 .cpu_list = "0" in run_multi_threaded()
/kernel/linux/linux-5.10/drivers/block/mtip32xx/
Dmtip32xx.c4002 char cpu_list[256]; in mtip_pci_probe() local
4069 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe()
4075 snprintf(&cpu_list[j], 256 - j, "%d ", cpu); in mtip_pci_probe()
4076 j = strlen(cpu_list); in mtip_pci_probe()
4083 cpu_list); in mtip_pci_probe()
4103 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe()
4106 snprintf(&cpu_list[j], 256 - j, "%d ", i); in mtip_pci_probe()
4107 j = strlen(cpu_list); in mtip_pci_probe()
4111 dev_info(&pdev->dev, "CPU %d: WQs %s\n", cpu, cpu_list); in mtip_pci_probe()
/kernel/linux/linux-5.10/tools/lib/perf/Documentation/
Dlibperf.txt41 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
/kernel/linux/linux-5.10/Documentation/ABI/stable/
Dsysfs-class-infiniband694 What: /sys/class/infiniband/hfi1_X/sdma_N/cpu_list
703 cpu_list: (RW) List of cpus for user-process to sdma
717 echo "4-7" > /sys/devices/.../sdma3/cpu_list
721 echo "9-12" > /sys/devices/.../sdma4/cpu_list
/kernel/linux/linux-5.10/tools/kvm/kvm_stat/
Dkvm_stat612 with open('/sys/devices/system/cpu/online') as cpu_list:
613 cpu_string = cpu_list.readline()

12