Home
last modified time | relevance | path

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

12

/linux/tools/perf/util/
A 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->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()
A Devlist-hybrid.c90 int evlist__fix_hybrid_cpus(struct evlist *evlist, const char *cpu_list) in evlist__fix_hybrid_cpus() argument
97 if (!perf_pmu__has_hybrid() || !cpu_list) in evlist__fix_hybrid_cpus()
100 cpus = perf_cpu_map__new(cpu_list); in evlist__fix_hybrid_cpus()
A Dtarget.h11 const char *cpu_list; member
67 return target->system_wide || target->cpu_list; in target__has_cpu()
A Dtop.c96 if (target->cpu_list) in perf_top__header_snprintf()
99 target->cpu_list); in perf_top__header_snprintf()
A Devlist-hybrid.h13 int evlist__fix_hybrid_cpus(struct evlist *evlist, const char *cpu_list);
A Dsession.h137 const char *cpu_list, unsigned long *cpu_bitmap);
A Dstat-display.c1097 else if (_target->cpu_list) in print_header()
1098 fprintf(output, "\'CPU(s) %s", _target->cpu_list); in print_header()
/linux/tools/lib/perf/
A Dcpumap.c176 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) in perf_cpu_map__new() argument
185 if (!cpu_list) in perf_cpu_map__new()
193 if (!isdigit(*cpu_list) && *cpu_list != '\0') in perf_cpu_map__new()
196 while (isdigit(*cpu_list)) { in perf_cpu_map__new()
198 start_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
204 cpu_list = ++p; in perf_cpu_map__new()
206 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
238 cpu_list = p; in perf_cpu_map__new()
243 else if (*cpu_list != '\0') in perf_cpu_map__new()
/linux/arch/sparc/kernel/
A Dsmp_64.c465 u16 *cpu_list; in spitfire_xcall_deliver() local
487 u16 *cpu_list; in cheetah_xcall_deliver() local
525 nr = cpu_list[i]; 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()
654 u16 *cpu_list; in hypervisor_xcall_deliver() local
706 cpu = cpu_list[i]; in hypervisor_xcall_deliver()
715 cpu_list[rem++] = cpu; in hypervisor_xcall_deliver()
791 u16 *cpu_list; in xcall_deliver() local
[all …]
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/
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/tools/perf/
A Dbuiltin-annotate.c54 const char *cpu_list; member
275 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event()
388 if (ann->cpu_list) { in __cmd_annotate()
389 ret = perf_session__cpu_bitmap(session, ann->cpu_list, in __cmd_annotate()
524 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
A Dbuiltin-mem.c37 const char *cpu_list; member
281 if (mem->cpu_list) { in report_raw_events()
282 ret = perf_session__cpu_bitmap(session, mem->cpu_list, in report_raw_events()
469 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
A Dbuiltin-report.c93 const char *cpu_list; member
285 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event()
912 if (rep->cpu_list) { in __cmd_report()
913 ret = perf_session__cpu_bitmap(session, rep->cpu_list, in __cmd_report()
1267 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report()
A 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()
1304 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
A 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()
3499 OPT_STRING('C', "cpu", &cpu_list, "cpu", "list of cpus to profile"), in cmd_sched()
A Dbuiltin-stat.c1214 OPT_STRING('C', "cpu", &target.cpu_list, "cpu",
2380 if (!target.system_wide || target.cpu_list) { in cmd_stat()
2443 if (evlist__fix_hybrid_cpus(evsel_list, target.cpu_list)) { in cmd_stat()
2444 pr_err("failed to use cpu list %s\n", target.cpu_list); in cmd_stat()
/linux/tools/power/x86/intel_pstate_tracer/
A Dintel_pstate_tracer.py505 cpu_list = "" variable
532 cpu_list = arg variable
543 if cpu_list:
544 for p in re.split("[,]", cpu_list):
/linux/tools/lib/perf/include/perf/
A Dcpumap.h13 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
/linux/drivers/block/mtip32xx/
A Dmtip32xx.c3908 char cpu_list[256]; in mtip_pci_probe() local
3972 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe()
3978 snprintf(&cpu_list[j], 256 - j, "%d ", cpu); in mtip_pci_probe()
3979 j = strlen(cpu_list); in mtip_pci_probe()
3986 cpu_list); in mtip_pci_probe()
4006 memset(cpu_list, 0, sizeof(cpu_list)); in mtip_pci_probe()
4009 snprintf(&cpu_list[j], 256 - j, "%d ", i); in mtip_pci_probe()
4010 j = strlen(cpu_list); in mtip_pci_probe()
4014 dev_info(&pdev->dev, "CPU %d: WQs %s\n", cpu, cpu_list); in mtip_pci_probe()
/linux/tools/perf/bench/
A Dsynthesize.c207 .cpu_list = "0" in run_multi_threaded()
A Devlist-open-close.c55 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", "list of cpus where to open events"),
/linux/Documentation/ABI/stable/
A 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
/linux/tools/lib/perf/Documentation/
A Dlibperf.txt41 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
/linux/drivers/infiniband/hw/hfi1/
A Dsysfs.c640 static SDE_ATTR(cpu_list, S_IWUSR | S_IRUGO,

Completed in 79 milliseconds

12