Home
last modified time | relevance | path

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

12

/linux-6.15/tools/perf/util/
H A 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()
H A Dmetricgroup.c217 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 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()
H A Dsmt.c25 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 Dsmt.h15 bool core_wide(bool system_wide, const char *user_requested_cpu_list);
H A Devlist.h108 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 Dmetricgroup.h79 bool system_wide,
H A Dconfig.c545 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 Dexpr.h11 bool system_wide; member
H A Devlist.c285 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 Dstat.h94 bool system_wide; member
H A Dstat-shadow.c513 pctx->sctx.system_wide = config->system_wide; in generic_metric()
H A Dtool_pmu.c245 if (!evsel->cgrp && !evsel->core.system_wide) in evsel__tool_pmu_open()
H A Dexpr.c406 result = core_wide(ctx->system_wide, ctx->user_requested_cpu_list) in expr__get_literal()
H A Dstat.c413 if (count->val == 0 && config->system_wide) in process_counter_values()
H A Dbpf_counter.c376 if (target->system_wide) { in bperf_check_target()
/linux-6.15/tools/lib/perf/
H A Devlist.c39 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 Dbuiltin-stat.c1869 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 Dbuiltin-script.c84 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 Dbuiltin-kvm.c1021 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 Dbuiltin-record.c955 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 Dbuiltin-ftrace.c1603 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 Devsel.h123 bool system_wide; member
/linux-6.15/tools/perf/tests/shell/lib/
H A Dperf_json_output_lint.py97 if args.no_args or args.system_wide or args.event:
/linux-6.15/tools/perf/bench/
H A Devlist-open-close.c54 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, "system-wide collection from all CPUs"),

12