| /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 | bpf_kwork_top.c | 125 if (kwork->cpu_list) { in setup_filters() 136 map = perf_cpu_map__new(kwork->cpu_list); in setup_filters() 194 if (kwork->cpu_list) in perf_kwork__top_prepare_bpf()
|
| D | top.c | 98 if (target->cpu_list) in perf_top__header_snprintf() 101 target->cpu_list); in perf_top__header_snprintf()
|
| D | bpf_ftrace.c | 40 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf() 62 if (ftrace->target.cpu_list) { in perf_ftrace__latency_prepare_bpf()
|
| D | bpf_kwork.c | 150 if (kwork->cpu_list != NULL) { in setup_filters() 161 map = perf_cpu_map__new(kwork->cpu_list); in setup_filters() 238 if (kwork->cpu_list != NULL) in perf_kwork__trace_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_off_cpu.c | 146 if (target->cpu_list) { in off_cpu_prepare() 212 if (target->cpu_list) { in off_cpu_prepare()
|
| D | session.h | 181 const char *cpu_list, unsigned long *cpu_bitmap);
|
| D | kwork.h | 214 const char *cpu_list; member
|
| D | parse-events.c | 231 struct perf_cpu_map *cpu_list) in __add_event() argument 234 struct perf_cpu_map *cpus = perf_cpu_map__is_empty(cpu_list) && pmu ? pmu->cpus : cpu_list; in __add_event() 309 struct perf_cpu_map *cpu_list = NULL; in add_event_tool() local 313 cpu_list = perf_cpu_map__new("0"); in add_event_tool() 318 cpu_list); in add_event_tool() 319 perf_cpu_map__put(cpu_list); in add_event_tool()
|
| D | evlist.c | 1074 cpus = perf_cpu_map__new(target->cpu_list); in evlist__create_maps() 1079 evlist->core.has_user_cpus = !!target->cpu_list; in evlist__create_maps() 2585 void evlist__warn_user_requested_cpus(struct evlist *evlist, const char *cpu_list) in evlist__warn_user_requested_cpus() argument 2590 if (!cpu_list) in evlist__warn_user_requested_cpus() 2593 user_requested_cpus = perf_cpu_map__new(cpu_list); in evlist__warn_user_requested_cpus() 2608 cpu_list, pmu ? pmu->name : "cpu", buf, evsel__name(pos)); in evlist__warn_user_requested_cpus()
|
| /tools/lib/perf/ |
| D | cpumap.c | 217 struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list) in perf_cpu_map__new() argument 226 if (!cpu_list) in perf_cpu_map__new() 234 if (!isdigit(*cpu_list) && *cpu_list != '\0') in perf_cpu_map__new() 237 while (isdigit(*cpu_list)) { in perf_cpu_map__new() 239 start_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new() 245 cpu_list = ++p; in perf_cpu_map__new() 247 end_cpu = strtoul(cpu_list, &p, 0); in perf_cpu_map__new() 279 cpu_list = p; in perf_cpu_map__new() 284 else if (*cpu_list != '\0') { in perf_cpu_map__new() 286 cpu_list); in perf_cpu_map__new()
|
| /tools/tracing/rtla/src/ |
| D | utils.h | 26 int parse_cpu_list(char *cpu_list, char **monitored_cpus); 63 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()
|
| /tools/perf/ |
| D | builtin-mem.c | 43 const char *cpu_list; member 102 if (mem->cpu_list) in __cmd_record() 153 if (mem->cpu_list) { in __cmd_record() 155 rec_argv[i++] = mem->cpu_list; in __cmd_record() 297 if (mem->cpu_list) { in report_raw_events() 298 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 | 66 const char *cpu_list; member 301 if (ann->cpu_list && !test_bit(sample->cpu, ann->cpu_bitmap)) in process_sample_event() 556 if (ann->cpu_list) { in __cmd_annotate() 557 ret = perf_session__cpu_bitmap(session, ann->cpu_list, in __cmd_annotate() 744 OPT_STRING('C', "cpu", &annotate.cpu_list, "cpu", "list of cpus to profile"), in cmd_annotate()
|
| D | builtin-kwork.c | 426 if ((kwork->cpu_list != NULL) && !test_bit(cpu, kwork->cpu_bitmap)) in profile_event_match() 1759 if (kwork->cpu_list != NULL) { in perf_kwork__check_config() 1761 kwork->cpu_list, in perf_kwork__check_config() 2331 .cpu_list = NULL, in cmd_kwork() 2364 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 2383 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 2410 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork() 2421 OPT_STRING('C', "cpu", &kwork.cpu_list, "cpu", in cmd_kwork()
|
| D | builtin-report.c | 105 const char *cpu_list; member 304 if (rep->cpu_list && !test_bit(sample->cpu, rep->cpu_bitmap)) in process_sample_event() 1050 if (rep->cpu_list) { in __cmd_report() 1051 ret = perf_session__cpu_bitmap(session, rep->cpu_list, in __cmd_report() 1389 OPT_STRING('C', "cpu", &report.cpu_list, "cpu", in cmd_report()
|
| D | builtin-diff.c | 102 static const char *cpu_list; variable 420 if (cpu_list && !test_bit(sample->cpu, cpu_bitmap)) { in diff__process_sample_event() 1192 if (cpu_list) { in __cmd_diff() 1193 ret = perf_session__cpu_bitmap(d->session, cpu_list, in __cmd_diff() 1292 OPT_STRING(0, "cpu", &cpu_list, "cpu", "list of cpus to profile"),
|
| /tools/power/x86/amd_pstate_tracer/ |
| D | amd_pstate_trace.py | 255 cpu_list = "" variable 283 cpu_list = arg variable 294 if cpu_list: 295 for p in re.split("[,]", cpu_list):
|
| /tools/lib/perf/include/perf/ |
| D | cpumap.h | 39 LIBPERF_API struct perf_cpu_map *perf_cpu_map__new(const char *cpu_list);
|
| /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):
|
| /tools/perf/bench/ |
| D | synthesize.c | 207 .cpu_list = "0" in run_multi_threaded()
|
| D | evlist-open-close.c | 55 OPT_STRING('C', "cpu", &opts.target.cpu_list, "cpu", "list of cpus where to open events"),
|