Home
last modified time | relevance | path

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

123

/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);
/kernel/linux/linux-4.19/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()
Dcpumap.c125 struct cpu_map *cpu_map__new(const char *cpu_list) in cpu_map__new() argument
134 if (!cpu_list) in cpu_map__new()
142 if (!isdigit(*cpu_list) && *cpu_list != '\0') in cpu_map__new()
145 while (isdigit(*cpu_list)) { in cpu_map__new()
147 start_cpu = strtoul(cpu_list, &p, 0); in cpu_map__new()
153 cpu_list = ++p; in cpu_map__new()
155 end_cpu = strtoul(cpu_list, &p, 0); in cpu_map__new()
184 cpu_list = p; in cpu_map__new()
189 else if (*cpu_list != '\0') in cpu_map__new()
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()
Dcpumap.h18 struct cpu_map *cpu_map__new(const char *cpu_list);
Dsession.h102 const char *cpu_list, unsigned long *cpu_bitmap);
/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-4.19/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-4.19/arch/sparc/kernel/
Dsmp_64.c468 u16 *cpu_list; in spitfire_xcall_deliver() local
473 cpu_list = __va(tb->cpu_list_pa); in spitfire_xcall_deliver()
479 spitfire_xcall_helper(data0, data1, data2, pstate, cpu_list[i]); in spitfire_xcall_deliver()
490 u16 *cpu_list; in cheetah_xcall_deliver() local
492 cpu_list = __va(tb->cpu_list_pa); in cheetah_xcall_deliver()
528 nr = cpu_list[i]; in cheetah_xcall_deliver()
570 if (cpu_list[i] == 0xffff) in cheetah_xcall_deliver()
572 cpu_list[i] = 0xffff; in cheetah_xcall_deliver()
608 nr = cpu_list[i]; in cheetah_xcall_deliver()
618 cpu_list[i] = 0xffff; in cheetah_xcall_deliver()
[all …]
Dds.c634 u32 *cpu_list = (u32 *) (tag + 1); in dr_cpu_data() local
651 purge_dups(cpu_list, tag->num_records); in dr_cpu_data()
655 if (cpu_list[i] == CPU_SENTINEL) in dr_cpu_data()
658 if (cpu_list[i] < nr_cpu_ids) in dr_cpu_data()
659 cpumask_set_cpu(cpu_list[i], &mask); in dr_cpu_data()
/kernel/linux/linux-4.19/block/
Dblk-softirq.c25 struct list_head *cpu_list, local_list; in blk_done_softirq() local
28 cpu_list = this_cpu_ptr(&blk_cpu_done); in blk_done_softirq()
29 list_replace_init(cpu_list, &local_list); in blk_done_softirq()
/kernel/linux/linux-4.19/tools/perf/
Dbuiltin-mem.c29 const char *cpu_list; member
254 if (mem->cpu_list) { in report_raw_events()
255 ret = perf_session__cpu_bitmap(session, mem->cpu_list, in report_raw_events()
417 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
Dbuiltin-annotate.c49 const char *cpu_list; member
272 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event()
393 if (ann->cpu_list) { in __cmd_annotate()
394 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()
/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()
/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-4.19/tools/power/x86/intel_pstate_tracer/
Dintel_pstate_tracer.py507 cpu_list = "" variable
534 cpu_list = arg variable
545 if cpu_list:
546 for p in re.split("[,]", 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):

123