| /linux-6.15/tools/perf/util/ |
| H 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()
|
| H A D | metricgroup.c | 217 bool system_wide) in metric__new() argument 248 m->pctx->sctx.system_wide = system_wide; in metric__new() 799 bool system_wide; member 816 bool system_wide, 846 bool system_wide, in resolve_metric() argument 930 bool system_wide, in __add_metric() argument 1192 bool system_wide; member 1235 bool system_wide, in metricgroup__add_metric() argument 1252 .system_wide = system_wide, in metricgroup__add_metric() 1276 .system_wide = system_wide, in metricgroup__add_metric() [all …]
|
| H A 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()
|
| H A D | smt.c | 25 bool core_wide(bool system_wide, const char *user_requested_cpu_list) in core_wide() argument 28 if (!system_wide) in core_wide()
|
| H A D | smt.h | 15 bool core_wide(bool system_wide, const char *user_requested_cpu_list);
|
| H A D | evlist.h | 108 struct evsel *evlist__add_aux_dummy(struct evlist *evlist, bool system_wide); 114 struct evsel *evlist__add_sched_switch(struct evlist *evlist, bool system_wide); 381 struct evsel *evlist__findnew_tracking_event(struct evlist *evlist, bool system_wide);
|
| H A D | metricgroup.h | 79 bool system_wide,
|
| H A D | config.c | 545 static const char *system_wide; in perf_etc_perfconfig() local 546 if (!system_wide) in perf_etc_perfconfig() 547 system_wide = system_path(ETC_PERFCONFIG); in perf_etc_perfconfig() 548 return system_wide; in perf_etc_perfconfig()
|
| H A D | expr.h | 11 bool system_wide; member
|
| H A D | evlist.c | 285 struct evsel *evlist__add_aux_dummy(struct evlist *evlist, bool system_wide) in evlist__add_aux_dummy() argument 295 evsel->core.system_wide = system_wide; in evlist__add_aux_dummy() 304 struct evsel *evlist__add_sched_switch(struct evlist *evlist, bool system_wide) in evlist__add_sched_switch() argument 315 evsel->core.system_wide = system_wide; in evlist__add_sched_switch() 987 bool all_threads = (target->per_thread && target->system_wide); in evlist__create_maps() 1730 struct evsel *evlist__findnew_tracking_event(struct evlist *evlist, bool system_wide) in evlist__findnew_tracking_event() argument 1736 evsel = evlist__add_aux_dummy(evlist, system_wide); in evlist__findnew_tracking_event() 1741 } else if (system_wide) { in evlist__findnew_tracking_event()
|
| H A D | stat.h | 94 bool system_wide; member
|
| H A D | stat-shadow.c | 513 pctx->sctx.system_wide = config->system_wide; in generic_metric()
|
| H A D | tool_pmu.c | 245 if (!evsel->cgrp && !evsel->core.system_wide) in evsel__tool_pmu_open()
|
| H A D | expr.c | 406 result = core_wide(ctx->system_wide, ctx->user_requested_cpu_list) in expr__get_literal()
|
| H A D | stat.c | 413 if (count->val == 0 && config->system_wide) in process_counter_values()
|
| H A D | bpf_counter.c | 376 if (target->system_wide) { in bperf_check_target()
|
| /linux-6.15/tools/lib/perf/ |
| H A D | evlist.c | 39 if (evsel->system_wide) { in __perf_evlist__propagate_maps() 84 if (evsel->system_wide) { in __perf_evlist__propagate_maps() 347 if (evsel->system_wide) in perf_evlist__alloc_pollfd() 483 if (evsel->system_wide && thread) in mmap_per_evsel() 545 flgs = evsel->system_wide ? fdarray_flag__nonfilterable : fdarray_flag__default; in mmap_per_evsel() 764 if (!evsel->system_wide) { in perf_evlist__go_system_wide() 765 evsel->system_wide = true; in perf_evlist__go_system_wide()
|
| /linux-6.15/tools/perf/ |
| H A D | builtin-stat.c | 1869 stat_config.system_wide, in add_default_events() 1907 stat_config.system_wide, in add_default_events() 1945 stat_config.system_wide, in add_default_events() 1995 stat_config.system_wide, in add_default_events() 2316 target.system_wide = true; in setup_system_wide() 2328 target.system_wide = true; in setup_system_wide() 2357 OPT_BOOLEAN('a', "all-cpus", &target.system_wide, in cmd_stat() 2652 if (!target.system_wide || target.cpu_list) { in cmd_stat() 2690 target.system_wide = true; in cmd_stat() 2696 stat_config.system_wide = target.system_wide; in cmd_stat() [all …]
|
| H A D | builtin-script.c | 84 static bool system_wide; variable 3490 system_wide = (argc == 0); in have_cmd() 3754 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script() 3967 system_wide = true; in cmd_script() 3968 } else if (!system_wide) { in cmd_script() 3984 if (system_wide) in cmd_script() 4031 system_wide = false; in cmd_script() 4032 else if (!system_wide) { in cmd_script() 4048 if (system_wide) in cmd_script()
|
| H A D | builtin-kvm.c | 1021 if (kvm->opts.target.system_wide) in print_vcpu_info() 1763 kvm->opts.target.system_wide = true; in kvm_events_report() 1831 OPT_BOOLEAN('a', "all-cpus", &kvm->opts.target.system_wide, in kvm_events_live() 1901 kvm->opts.target.system_wide = true; in kvm_events_live()
|
| H A D | builtin-record.c | 955 bool system_wide = false; in record__config_tracking_events() local 971 system_wide = true; in record__config_tracking_events() 973 evsel = evlist__findnew_tracking_event(evlist, system_wide); in record__config_tracking_events() 3396 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide, 4021 rec->opts.target.system_wide = true; in cmd_record() 4023 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record() 4037 if (record.opts.target.system_wide) { in cmd_record()
|
| H A D | builtin-ftrace.c | 1603 OPT_BOOLEAN('a', "all-cpus", &ftrace.target.system_wide, in cmd_ftrace() 1741 ftrace.target.system_wide = true; in cmd_ftrace()
|
| /linux-6.15/tools/lib/perf/include/internal/ |
| H A D | evsel.h | 123 bool system_wide; member
|
| /linux-6.15/tools/perf/tests/shell/lib/ |
| H A D | perf_json_output_lint.py | 97 if args.no_args or args.system_wide or args.event:
|
| /linux-6.15/tools/perf/bench/ |
| H A D | evlist-open-close.c | 54 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, "system-wide collection from all CPUs"),
|