| /Linux-v5.15/tools/perf/util/ |
| D | target.c | 46 if (target->tid && target->system_wide) { in target__validate() 47 target->system_wide = false; in target__validate() 53 if (target->uid_str && target->system_wide) { in target__validate() 54 target->system_wide = false; in target__validate() 88 if (target->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
|
| D | target.h | 15 bool system_wide; member 67 return target->system_wide || target->cpu_list; in target__has_cpu() 77 return target->system_wide && target->per_thread; in target__has_per_thread()
|
| D | config.c | 519 static const char *system_wide; in perf_etc_perfconfig() local 520 if (!system_wide) in perf_etc_perfconfig() 521 system_wide = system_path(ETC_PERFCONFIG); in perf_etc_perfconfig() 522 return system_wide; in perf_etc_perfconfig()
|
| D | evsel.c | 391 evsel->core.system_wide = orig->core.system_wide; in evsel__clone() 1680 if (evsel->core.system_wide) in evsel__ignore_missing_thread() 1778 if (evsel->core.system_wide) in __evsel__prepare_open() 1976 if (evsel->core.system_wide) in evsel__open_cpu() 1997 if (!evsel->cgrp && !evsel->core.system_wide) in evsel__open_cpu()
|
| D | stat.c | 416 if (counter->core.system_wide) in process_counter_maps()
|
| D | bpf_counter.c | 368 if (target->system_wide) { in bperf_check_target()
|
| D | evlist.c | 339 if (evsel->core.system_wide) in evlist__nr_threads() 970 bool all_threads = (target->per_thread && target->system_wide); in evlist__create_maps()
|
| D | stat-display.c | 1095 else if (_target->system_wide) in print_header()
|
| D | parse-events.c | 383 evsel->core.system_wide = pmu ? pmu->is_uncore : false; in __add_event()
|
| /Linux-v5.15/tools/lib/perf/include/internal/ |
| D | evsel.h | 52 bool system_wide; member
|
| /Linux-v5.15/tools/lib/perf/ |
| D | evlist.c | 45 } else if (!evsel->system_wide && perf_cpu_map__empty(evlist->cpus)) { in __perf_evlist__propagate_maps() 303 if (evsel->system_wide) in perf_evlist__alloc_pollfd() 438 if (evsel->system_wide && thread) in mmap_per_evsel() 491 if (!evsel->system_wide && in mmap_per_evsel()
|
| D | evsel.c | 410 if (evsel->system_wide) in perf_evsel__alloc_id()
|
| /Linux-v5.15/tools/perf/ |
| D | builtin-stat.c | 365 if (counter->core.system_wide) in read_counter_cpu() 1193 OPT_BOOLEAN('a', "all-cpus", &target.system_wide, 2202 target.system_wide = true; in setup_system_wide() 2207 if (!counter->core.system_wide && in setup_system_wide() 2214 target.system_wide = true; in setup_system_wide() 2374 if (!target.system_wide || target.cpu_list) { in cmd_stat() 2412 target.system_wide = true; in cmd_stat() 2434 if ((stat_config.aggr_mode == AGGR_THREAD) && (target.system_wide)) in cmd_stat() 2464 if (target.system_wide) { in cmd_stat()
|
| D | builtin-ftrace.c | 900 OPT_BOOLEAN('a', "all-cpus", &ftrace.target.system_wide, in cmd_ftrace() 941 ftrace.target.system_wide = true; in cmd_ftrace()
|
| D | builtin-kvm.c | 577 if (kvm->opts.target.system_wide) in print_vcpu_info() 1287 kvm->opts.target.system_wide = true; in kvm_events_report() 1355 OPT_BOOLEAN('a', "all-cpus", &kvm->opts.target.system_wide, in kvm_events_live() 1426 kvm->opts.target.system_wide = true; in kvm_events_live()
|
| D | builtin-script.c | 76 static bool system_wide; variable 2110 if (counter->core.system_wide) in __process_stat() 3449 system_wide = (argc == 0); in have_cmd() 3720 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script() 3922 system_wide = true; in cmd_script() 3923 } else if (!system_wide) { in cmd_script() 3939 if (system_wide) in cmd_script() 3986 system_wide = false; in cmd_script() 3987 else if (!system_wide) { in cmd_script() 4003 if (system_wide) in cmd_script()
|
| D | builtin-record.c | 797 evsel->core.system_wide = true; in record__config_text_poke() 2465 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide, 2685 rec->opts.target.system_wide = true; in cmd_record() 2687 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
|
| D | builtin-top.c | 1453 OPT_BOOLEAN('a', "all-cpus", &target->system_wide, in cmd_top() 1698 target->system_wide = true; in cmd_top()
|
| D | builtin-trace.c | 4805 OPT_BOOLEAN('a', "all-cpus", &trace.opts.target.system_wide, 4936 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) { 5176 trace.opts.target.system_wide = true;
|
| /Linux-v5.15/tools/perf/bench/ |
| D | evlist-open-close.c | 49 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, "system-wide collection from all CPUs"),
|
| /Linux-v5.15/tools/perf/tests/ |
| D | switch-tracking.c | 404 switch_evsel->core.system_wide = true; in test__switch_tracking()
|
| /Linux-v5.15/tools/perf/arch/x86/util/ |
| D | intel-pt.c | 434 evsel->core.system_wide = true; in intel_pt_track_switches() 816 switch_evsel->core.system_wide = true; in intel_pt_recording_options()
|