/linux-6.12.1/tools/perf/util/ |
D | cputopo.c | 179 struct perf_cpu_map *user_requested_cpus; in cpu_topology__core_wide() local 188 user_requested_cpus = perf_cpu_map__new(user_requested_cpu_list); in cpu_topology__core_wide() 199 has_first = perf_cpu_map__has(user_requested_cpus, cpu); in cpu_topology__core_wide() 209 if (perf_cpu_map__has(user_requested_cpus, cpu) != has_first) { in cpu_topology__core_wide() 211 perf_cpu_map__put(user_requested_cpus); in cpu_topology__core_wide() 218 perf_cpu_map__put(user_requested_cpus); in cpu_topology__core_wide()
|
D | record.c | 102 if (perf_cpu_map__cpu(evlist->core.user_requested_cpus, 0).cpu < 0) in evlist__config() 240 if (!evlist || perf_cpu_map__is_any_cpu_or_is_empty(evlist->core.user_requested_cpus)) { in evlist__can_select_event() 248 cpu = perf_cpu_map__cpu(evlist->core.user_requested_cpus, 0); in evlist__can_select_event()
|
D | bpf_ftrace.c | 41 ncpus = perf_cpu_map__nr(ftrace->evlist->core.user_requested_cpus); in perf_ftrace__latency_prepare_bpf() 69 cpu = perf_cpu_map__cpu(ftrace->evlist->core.user_requested_cpus, i).cpu; in perf_ftrace__latency_prepare_bpf()
|
D | evlist.c | 503 if (!cpu_map__is_dummy(evlist->core.user_requested_cpus)) { in __evlist__disable() 572 if (!cpu_map__is_dummy(evlist->core.user_requested_cpus)) { in __evlist__enable() 1397 if (!evlist->core.user_requested_cpus || in evlist__close() 1398 cpu_map__is_dummy(evlist->core.user_requested_cpus)) { in evlist__close() 1460 if (evlist->core.threads == NULL && evlist->core.user_requested_cpus == NULL) { in evlist__open() 2573 struct perf_cpu_map *user_requested_cpus; in evlist__warn_user_requested_cpus() local 2579 user_requested_cpus = perf_cpu_map__new(cpu_list); in evlist__warn_user_requested_cpus() 2580 if (!user_requested_cpus) in evlist__warn_user_requested_cpus() 2588 intersect = perf_cpu_map__intersect(to_test, user_requested_cpus); in evlist__warn_user_requested_cpus() 2589 if (!perf_cpu_map__equal(intersect, user_requested_cpus)) { in evlist__warn_user_requested_cpus() [all …]
|
D | bpf_off_cpu.c | 147 ncpus = perf_cpu_map__nr(evlist->core.user_requested_cpus); in off_cpu_prepare() 219 cpu = perf_cpu_map__cpu(evlist->core.user_requested_cpus, i).cpu; in off_cpu_prepare()
|
D | sideband_evlist.c | 117 if (evsel__open(counter, evlist->core.user_requested_cpus, in evlist__start_sb_thread()
|
D | top.c | 97 nr_cpus = perf_cpu_map__nr(top->evlist->core.user_requested_cpus); in perf_top__header_snprintf()
|
D | bpf_lock_contention.c | 51 ncpus = perf_cpu_map__nr(evlist->core.user_requested_cpus); in lock_contention_prepare() 124 cpu = perf_cpu_map__cpu(evlist->core.user_requested_cpus, i).cpu; in lock_contention_prepare()
|
D | intel-tpebs.c | 224 cpu_map__snprint(evsel_list->core.user_requested_cpus, cpumap_buf, sizeof(cpumap_buf)); in tpebs_start()
|
D | auxtrace.c | 177 bool per_cpu = !perf_cpu_map__has_any_cpu(evlist->core.user_requested_cpus); in auxtrace_mmap_params__set_idx() 656 bool per_cpu_mmaps = !perf_cpu_map__has_any_cpu(evlist->core.user_requested_cpus); in evlist__enable_event_idx()
|
D | stat-display.c | 1135 perf_cpu_map__for_each_cpu(cpu, all_idx, evlist->core.user_requested_cpus) { in print_no_aggr_metric()
|
D | synthetic-events.c | 2349 err = perf_event__synthesize_cpu_map(tool, evlist->core.user_requested_cpus, process, NULL); in perf_event__synthesize_stat_events()
|
/linux-6.12.1/tools/lib/perf/ |
D | evlist.c | 49 evsel->cpus = perf_cpu_map__intersect(evlist->user_requested_cpus, evsel->own_cpus); in __perf_evlist__propagate_maps() 51 (!evsel->requires_cpu && perf_cpu_map__has_any_cpu(evlist->user_requested_cpus))) { in __perf_evlist__propagate_maps() 60 evsel->cpus = perf_cpu_map__get(evlist->user_requested_cpus); in __perf_evlist__propagate_maps() 153 perf_cpu_map__put(evlist->user_requested_cpus); in perf_evlist__exit() 156 evlist->user_requested_cpus = NULL; in perf_evlist__exit() 185 if (cpus != evlist->user_requested_cpus) { in perf_evlist__set_maps() 186 perf_cpu_map__put(evlist->user_requested_cpus); in perf_evlist__set_maps() 187 evlist->user_requested_cpus = perf_cpu_map__get(cpus); in perf_evlist__set_maps()
|
/linux-6.12.1/tools/perf/arch/arm/util/ |
D | cs-etm.c | 202 struct perf_cpu_map *event_cpus = evsel->evlist->core.user_requested_cpus; in cs_etm_validate_config() 314 struct perf_cpu_map *cpus = evlist->core.user_requested_cpus; in cs_etm_recording_options() 543 struct perf_cpu_map *event_cpus = evlist->core.user_requested_cpus; in cs_etm_info_priv_size() 782 struct perf_cpu_map *event_cpus = session->evlist->core.user_requested_cpus; in cs_etm_info_fill()
|
/linux-6.12.1/tools/lib/perf/include/internal/ |
D | evlist.h | 26 struct perf_cpu_map *user_requested_cpus; member
|
/linux-6.12.1/tools/perf/bench/ |
D | evlist-open-close.c | 154 printf(" Number of cpus:\t%d\n", perf_cpu_map__nr(evlist->core.user_requested_cpus)); in bench_evlist_open_close__run()
|
/linux-6.12.1/tools/perf/ |
D | builtin-stat.c | 718 if (!cpu_map__is_dummy(evsel_list->core.user_requested_cpus)) { in __run_perf_stat() 1475 stat_config.aggr_map = cpu_aggr_map__new(evsel_list->core.user_requested_cpus, in perf_stat_init_aggr_mode() 1504 if (!perf_cpu_map__is_any_cpu_or_is_empty(evsel_list->core.user_requested_cpus)) in perf_stat_init_aggr_mode() 1505 nr = perf_cpu_map__max(evsel_list->core.user_requested_cpus).cpu; in perf_stat_init_aggr_mode() 1806 stat_config.aggr_map = cpu_aggr_map__new(evsel_list->core.user_requested_cpus, in perf_stat_init_aggr_mode_file()
|
D | builtin-ftrace.c | 344 struct perf_cpu_map *cpumap = ftrace->evlist->core.user_requested_cpus; in set_tracing_cpu()
|
D | builtin-record.c | 1069 return cpu_map__is_dummy(evlist->core.user_requested_cpus); in evlist__per_thread()
|
/linux-6.12.1/tools/perf/arch/arm64/util/ |
D | arm-spe.c | 182 struct perf_cpu_map *cpus = evlist->core.user_requested_cpus; in arm_spe_recording_options()
|
/linux-6.12.1/tools/perf/arch/x86/util/ |
D | intel-bts.c | 113 const struct perf_cpu_map *cpus = evlist->core.user_requested_cpus; in intel_bts_recording_options()
|
D | intel-pt.c | 373 per_cpu_mmaps = !perf_cpu_map__is_any_cpu_or_is_empty(session->evlist->core.user_requested_cpus); in intel_pt_info_fill() 618 const struct perf_cpu_map *cpus = evlist->core.user_requested_cpus; in intel_pt_recording_options()
|