/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 68 return target->system_wide || target->cpu_list; in target__has_cpu() 89 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() 1689 if (evsel->core.system_wide) in evsel__ignore_missing_thread() 1787 if (evsel->core.system_wide) in __evsel__prepare_open() 1985 if (evsel->core.system_wide) in evsel__open_cpu() 2006 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() 989 bool all_threads = (target->per_thread && target->system_wide); in evlist__create_maps()
|
D | stat-display.c | 1096 else if (_target->system_wide) in print_header()
|
D | parse-events.c | 394 evsel->core.system_wide = pmu ? pmu->is_uncore : false; in __add_event()
|
/tools/lib/perf/include/internal/ |
D | evsel.h | 52 bool system_wide; member
|
/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()
|
/tools/perf/ |
D | builtin-stat.c | 365 if (counter->core.system_wide) in read_counter_cpu() 1176 OPT_BOOLEAN('a', "all-cpus", &target.system_wide, 2185 target.system_wide = true; in setup_system_wide() 2190 if (!counter->core.system_wide && in setup_system_wide() 2197 target.system_wide = true; in setup_system_wide() 2357 if (!target.system_wide || target.cpu_list) { in cmd_stat() 2395 target.system_wide = true; in cmd_stat() 2417 if ((stat_config.aggr_mode == AGGR_THREAD) && (target.system_wide)) in cmd_stat() 2447 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 2113 if (counter->core.system_wide) in __process_stat() 3452 system_wide = (argc == 0); in have_cmd() 3723 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script() 3925 system_wide = true; in cmd_script() 3926 } else if (!system_wide) { in cmd_script() 3942 if (system_wide) in cmd_script() 3989 system_wide = false; in cmd_script() 3990 else if (!system_wide) { in cmd_script() 4006 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 | 4808 OPT_BOOLEAN('a', "all-cpus", &trace.opts.target.system_wide, 4939 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) { 5179 trace.opts.target.system_wide = true;
|
/tools/perf/bench/ |
D | evlist-open-close.c | 49 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, "system-wide collection from all CPUs"),
|
/tools/perf/tests/ |
D | switch-tracking.c | 412 switch_evsel->core.system_wide = true; in test__switch_tracking()
|
/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()
|