Home
last modified time | relevance | path

Searched refs:cpu_list (Results 1 – 25 of 48) 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.c168 if (target->cpu_list) { in off_cpu_prepare()
234 if (target->cpu_list) { in off_cpu_prepare()
H A Dsession.h183 const char *cpu_list, unsigned long *cpu_bitmap);
/linux/tools/lib/perf/
H A Dcpumap.c165 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) in perf_cpu_map__new() argument
174 if (!cpu_list) in perf_cpu_map__new()
182 if (!isdigit(*cpu_list) && *cpu_list != '\0') in perf_cpu_map__new()
185 while (isdigit(*cpu_list)) { in perf_cpu_map__new()
187 start_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
193 cpu_list = ++p; in perf_cpu_map__new()
195 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new()
227 cpu_list = p; in perf_cpu_map__new()
232 } else if (*cpu_list != '\0') { in perf_cpu_map__new()
234 cpu_list); in perf_cpu_map__new()
/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()
301 if (mem->cpu_list) { in report_raw_events()
302 ret = perf_session__cpu_bitmap(session, mem->cpu_list, in report_raw_events()
487 OPT_STRING('C', "cpu", &mem.cpu_list, "cpu", in cmd_mem()
H A Dbuiltin-sched.c60 static const char *cpu_list; variable
2178 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) in timehist_print_sample()
2860 if (!cpu_list || test_bit(sample->cpu, cpu_bitmap)) in timehist_sched_change_event()
3118 if (cpu_list && !test_bit(i, cpu_bitmap)) in timehist_print_summary()
3319 if (cpu_list) { in perf_sched__timehist()
3320 err = perf_session__cpu_bitmap(session, cpu_list, cpu_bitmap); in perf_sched__timehist()
3875 if (cpu_list) in perf_sched__schedstat_record()
3876 target.cpu_list = cpu_list; in perf_sched__schedstat_record()
3939 struct list_head cpu_list; member
4173 struct schedstat_cpu *cptr = list_first_entry(head, struct schedstat_cpu, cpu_list); in get_all_cpu_stats()
[all …]
H A Dbuiltin-annotate.c67 const char *cpu_list; member
302 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event()
558 if (ann->cpu_list) { in __cmd_annotate()
559 ret = perf_session__cpu_bitmap(session, ann->cpu_list, in __cmd_annotate()
746 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
H A Dbuiltin-kwork.c427 if ((kwork->cpu_list != NULL) && !test_bit(cpu, kwork->cpu_bitmap)) in profile_event_match()
1761 if (kwork->cpu_list != NULL) { in perf_kwork__check_config()
1763 kwork->cpu_list, in perf_kwork__check_config()
2350 .cpu_list = NULL, in cmd_kwork()
2384 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2403 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2430 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
2441 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
H A Dbuiltin-report.c105 const char *cpu_list; member
307 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event()
1065 if (rep->cpu_list) { in __cmd_report()
1066 ret = perf_session__cpu_bitmap(session, rep->cpu_list, in __cmd_report()
1422 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report()
H A Dbuiltin-diff.c103 static const char *cpu_list; variable
419 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) { in diff__process_sample_event()
1191 if (cpu_list) { in __cmd_diff()
1192 ret = perf_session__cpu_bitmap(d->session, cpu_list, in __cmd_diff()
1291 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
/linux/tools/tracing/rtla/src/
H A Dutils.h66 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()
130 for (p = cpu_list; *p; ) { in parse_cpu_set()
163 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
530 cpu_list = arg variable
541 if cpu_list:
542 for p in re.split("[,]", cpu_list):
/linux/tools/lib/perf/include/perf/
H A Dcpumap.h39 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
/linux/arch/x86/kvm/vmx/
H A Dtdx.h69 struct list_head cpu_list; member
/linux/tools/perf/bench/
H A Dsynthesize.c219 .cpu_list = "0" in run_multi_threaded()
H A Devlist-open-close.c232 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", in bench_evlist_open_close()

12