/linux/tools/perf/util/ |
A 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()
|
A 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()
|
A 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()
|
A D | evsel.c | 384 evsel->core.system_wide = orig->core.system_wide; in evsel__clone() 1699 if (evsel->core.system_wide) in evsel__ignore_missing_thread() 1797 if (evsel->core.system_wide) in __evsel__prepare_open() 2012 if (evsel->core.system_wide) in evsel__open_cpu() 2033 if (!evsel->cgrp && !evsel->core.system_wide) in evsel__open_cpu()
|
A D | stat.c | 416 if (counter->core.system_wide) in process_counter_maps()
|
A D | bpf_counter.c | 368 if (target->system_wide) { in bperf_check_target()
|
A 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()
|
A D | stat-display.c | 1095 else if (_target->system_wide) in print_header()
|
A D | parse-events.c | 353 evsel->core.system_wide = pmu ? pmu->is_uncore : false; in __add_event()
|
/linux/tools/lib/perf/ |
A 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()
|
A D | evsel.c | 410 if (evsel->system_wide) in perf_evsel__alloc_id()
|
/linux/tools/lib/perf/include/internal/ |
A D | evsel.h | 52 bool system_wide; member
|
/linux/tools/perf/ |
A D | builtin-stat.c | 365 if (counter->core.system_wide) in read_counter_cpu() 1193 OPT_BOOLEAN('a', "all-cpus", &target.system_wide, 2208 target.system_wide = true; in setup_system_wide() 2213 if (!counter->core.system_wide && in setup_system_wide() 2220 target.system_wide = true; in setup_system_wide() 2380 if (!target.system_wide || target.cpu_list) { in cmd_stat() 2418 target.system_wide = true; in cmd_stat() 2440 if ((stat_config.aggr_mode == AGGR_THREAD) && (target.system_wide)) in cmd_stat() 2470 if (target.system_wide) { in cmd_stat()
|
A 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()
|
A 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()
|
A D | builtin-script.c | 76 static bool system_wide; variable 2120 if (counter->core.system_wide) in __process_stat() 3459 system_wide = (argc == 0); in have_cmd() 3730 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script() 3935 system_wide = true; in cmd_script() 3936 } else if (!system_wide) { in cmd_script() 3952 if (system_wide) in cmd_script() 3999 system_wide = false; in cmd_script() 4000 else if (!system_wide) { in cmd_script() 4016 if (system_wide) in cmd_script()
|
A D | builtin-record.c | 797 evsel->core.system_wide = true; in record__config_text_poke() 2495 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide, 2721 rec->opts.target.system_wide = true; in cmd_record() 2723 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
|
A D | builtin-top.c | 1453 OPT_BOOLEAN('a', "all-cpus", &target->system_wide, in cmd_top() 1702 target->system_wide = true; in cmd_top()
|
A D | builtin-trace.c | 4806 OPT_BOOLEAN('a', "all-cpus", &trace.opts.target.system_wide, 4937 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) { 5177 trace.opts.target.system_wide = true;
|
/linux/tools/perf/bench/ |
A D | evlist-open-close.c | 54 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, "system-wide collection from all CPUs"),
|
/linux/tools/perf/tests/ |
A D | switch-tracking.c | 404 switch_evsel->core.system_wide = true; in test__switch_tracking()
|
/linux/tools/perf/arch/x86/util/ |
A 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()
|