Home
last modified time | relevance | path

Searched refs:system_wide (Results 1 – 20 of 20) 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()
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.c488 static const char *system_wide; in perf_etc_perfconfig() local
489 if (!system_wide) in perf_etc_perfconfig()
490 system_wide = system_path(ETC_PERFCONFIG); in perf_etc_perfconfig()
491 return system_wide; in perf_etc_perfconfig()
Devlist.c318 if (evsel->core.system_wide) in perf_evlist__nr_threads()
436 if (!evsel->core.system_wide && evlist->core.threads && thread >= 0) in perf_evlist__set_sid_idx()
663 if (evsel->core.system_wide && thread) in evlist__mmap_per_evsel()
693 if (!evsel->core.system_wide && in evlist__mmap_per_evsel()
939 bool all_threads = (target->per_thread && target->system_wide); in perf_evlist__create_maps()
Dstat.c339 if (counter->core.system_wide) in process_counter_maps()
Devsel.c1496 if (evsel->core.system_wide) in ignore_missing_thread()
1611 if (evsel->core.system_wide) in evsel__open()
1658 if (!evsel->cgrp && !evsel->core.system_wide) in evsel__open()
2453 target->system_wide ? "system-wide " : "", in perf_evsel__open_strerror()
Dstat-display.c1018 if (_target->system_wide) in print_header()
Dparse-events.c339 evsel->core.system_wide = pmu ? pmu->is_uncore : false; in __add_event()
/tools/perf/lib/include/internal/
Devsel.h50 bool system_wide; member
/tools/perf/
Dbuiltin-stat.c281 if (counter->core.system_wide) in read_counter()
740 OPT_BOOLEAN('a', "all-cpus", &target.system_wide,
1669 target.system_wide = true; in setup_system_wide()
1674 if (!counter->core.system_wide && in setup_system_wide()
1681 target.system_wide = true; in setup_system_wide()
1834 if (!target.system_wide || target.cpu_list) { in cmd_stat()
1865 if ((stat_config.aggr_mode == AGGR_THREAD) && (target.system_wide)) in cmd_stat()
1887 if (target.system_wide) { in cmd_stat()
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.c72 static bool system_wide; variable
1926 if (counter->core.system_wide) in __process_stat()
3238 system_wide = (argc == 0); in have_cmd()
3490 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script()
3668 system_wide = true; in cmd_script()
3669 } else if (!system_wide) { in cmd_script()
3685 if (system_wide) in cmd_script()
3732 system_wide = false; in cmd_script()
3733 else if (!system_wide) { in cmd_script()
3749 if (system_wide) in cmd_script()
Dbuiltin-ftrace.c467 OPT_BOOLEAN('a', "all-cpus", &ftrace.target.system_wide, in cmd_ftrace()
Dbuiltin-record.c2138 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide,
2328 rec->opts.target.system_wide = true; in cmd_record()
2330 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
Dbuiltin-top.c1434 OPT_BOOLEAN('a', "all-cpus", &target->system_wide, in cmd_top()
1633 target->system_wide = true; in cmd_top()
Dbuiltin-trace.c4171 OPT_BOOLEAN('a', "all-cpus", &trace.opts.target.system_wide, in cmd_trace()
4265 if ((nr_cgroups || trace.cgroup) && !trace.opts.target.system_wide) { in cmd_trace()
4470 trace.opts.target.system_wide = true; in cmd_trace()
/tools/perf/lib/
Devlist.c254 if (evsel->system_wide) in perf_evlist__alloc_pollfd()
Devsel.c239 if (evsel->system_wide) in perf_evsel__alloc_id()
/tools/perf/tests/
Dswitch-tracking.c399 switch_evsel->core.system_wide = true; in test__switch_tracking()
/tools/perf/arch/x86/util/
Dintel-pt.c425 evsel->core.system_wide = true; in intel_pt_track_switches()
727 switch_evsel->core.system_wide = true; in intel_pt_recording_options()