Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
60 if (target->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
Dtarget.h14 bool system_wide; member
59 return target->system_wide || target->cpu_list; in target__has_cpu()
69 return target->system_wide && target->per_thread; in target__has_per_thread()
Dconfig.c512 static const char *system_wide; in perf_etc_perfconfig() local
513 if (!system_wide) in perf_etc_perfconfig()
514 system_wide = system_path(ETC_PERFCONFIG); in perf_etc_perfconfig()
515 return system_wide; in perf_etc_perfconfig()
Devsel.c384 evsel->core.system_wide = orig->core.system_wide; in evsel__clone()
1623 if (evsel->core.system_wide) in ignore_missing_thread()
1739 if (evsel->core.system_wide) in evsel__open_cpu()
1788 if (!evsel->cgrp && !evsel->core.system_wide) in evsel__open_cpu()
Dstat.c384 if (counter->core.system_wide) in process_counter_maps()
Devlist.c341 if (evsel->core.system_wide) in perf_evlist__nr_threads()
917 bool all_threads = (target->per_thread && target->system_wide); in perf_evlist__create_maps()
Dstat-display.c1030 if (_target->system_wide) in print_header()
Dparse-events.c377 evsel->core.system_wide = pmu ? pmu->is_uncore : false; in __add_event()
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/
Devsel.h50 bool system_wide; member
/kernel/linux/linux-5.10/tools/lib/perf/
Devlist.c48 } else if (!evsel->system_wide && perf_cpu_map__empty(evlist->cpus)) { in __perf_evlist__propagate_maps()
297 if (evsel->system_wide) in perf_evlist__alloc_pollfd()
432 if (evsel->system_wide && thread) in mmap_per_evsel()
485 if (!evsel->system_wide && in mmap_per_evsel()
Devsel.c278 if (evsel->system_wide) in perf_evsel__alloc_id()
/kernel/linux/linux-5.10/tools/perf/
Dbuiltin-stat.c341 if (counter->core.system_wide) in read_counter_cpu()
1088 OPT_BOOLEAN('a', "all-cpus", &target.system_wide,
2035 target.system_wide = true; in setup_system_wide()
2040 if (!counter->core.system_wide && in setup_system_wide()
2047 target.system_wide = true; in setup_system_wide()
2200 if (!target.system_wide || target.cpu_list) { in cmd_stat()
2244 if ((stat_config.aggr_mode == AGGR_THREAD) && (target.system_wide)) in cmd_stat()
2268 if (target.system_wide) { in cmd_stat()
Dbuiltin-ftrace.c901 OPT_BOOLEAN('a', "all-cpus", &ftrace.target.system_wide, in cmd_ftrace()
942 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()
1356 OPT_BOOLEAN('a', "all-cpus", &kvm->opts.target.system_wide, in kvm_events_live()
1427 kvm->opts.target.system_wide = true; in kvm_events_live()
Dbuiltin-script.c74 static bool system_wide; variable
2037 if (counter->core.system_wide) in __process_stat()
3255 system_wide = (argc == 0); in have_cmd()
3517 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script()
3709 system_wide = true; in cmd_script()
3710 } else if (!system_wide) { in cmd_script()
3726 if (system_wide) in cmd_script()
3773 system_wide = false; in cmd_script()
3774 else if (!system_wide) { in cmd_script()
3790 if (system_wide) in cmd_script()
Dbuiltin-record.c792 evsel->core.system_wide = true; in record__config_text_poke()
2438 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide,
2652 rec->opts.target.system_wide = true; in cmd_record()
2654 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
Dbuiltin-top.c1459 OPT_BOOLEAN('a', "all-cpus", &target->system_wide, in cmd_top()
1698 target->system_wide = true; in cmd_top()
Dbuiltin-trace.c4771 OPT_BOOLEAN('a', "all-cpus", &trace.opts.target.system_wide,
4901 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) {
5141 trace.opts.target.system_wide = true;
/kernel/linux/linux-5.10/tools/perf/tests/
Dswitch-tracking.c400 switch_evsel->core.system_wide = true; in test__switch_tracking()
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
Dintel-pt.c434 evsel->core.system_wide = true; in intel_pt_track_switches()
810 switch_evsel->core.system_wide = true; in intel_pt_recording_options()