Home
last modified time | relevance | path

Searched refs:system_wide (Results 1 – 22 of 22) sorted by relevance

/tools/perf/util/
Dtarget.c46 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()
Dtarget.h15 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()
Dconfig.c519 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()
Devsel.c391 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()
Dstat.c416 if (counter->core.system_wide) in process_counter_maps()
Dbpf_counter.c368 if (target->system_wide) { in bperf_check_target()
Devlist.c339 if (evsel->core.system_wide) in evlist__nr_threads()
989 bool all_threads = (target->per_thread && target->system_wide); in evlist__create_maps()
Dstat-display.c1096 else if (_target->system_wide) in print_header()
Dparse-events.c394 evsel->core.system_wide = pmu ? pmu->is_uncore : false; in __add_event()
/tools/lib/perf/include/internal/
Devsel.h52 bool system_wide; member
/tools/lib/perf/
Devlist.c45 } 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()
Devsel.c410 if (evsel->system_wide) in perf_evsel__alloc_id()
/tools/perf/
Dbuiltin-stat.c365 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()
Dbuiltin-ftrace.c900 OPT_BOOLEAN('a', "all-cpus", &ftrace.target.system_wide, in cmd_ftrace()
941 ftrace.target.system_wide = true; in cmd_ftrace()
Dbuiltin-kvm.c577 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()
Dbuiltin-script.c76 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()
Dbuiltin-record.c797 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()
Dbuiltin-top.c1453 OPT_BOOLEAN('a', "all-cpus", &target->system_wide, in cmd_top()
1698 target->system_wide = true; in cmd_top()
Dbuiltin-trace.c4808 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/
Devlist-open-close.c49 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, "system-wide collection from all CPUs"),
/tools/perf/tests/
Dswitch-tracking.c412 switch_evsel->core.system_wide = true; in test__switch_tracking()
/tools/perf/arch/x86/util/
Dintel-pt.c434 evsel->core.system_wide = true; in intel_pt_track_switches()
816 switch_evsel->core.system_wide = true; in intel_pt_recording_options()