Home
last modified time | relevance | path

Searched refs:system_wide (Results 1 - 25 of 49) sorted by relevance

12

/kernel/linux/linux-5.10/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()
60 if (target->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
H A 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()
H A 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()
/kernel/linux/linux-6.6/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 Dtarget.h15 bool system_wide; member
67 return target->system_wide || target->cpu_list; in target__has_cpu()
88 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 Dmetricgroup.c214 bool system_wide) in metric__new()
245 m->pctx->sctx.system_wide = system_wide; in metric__new()
798 bool system_wide; member
815 bool system_wide,
830 * @system_wide: Are events for all processes recorded.
845 bool system_wide, in resolve_metric()
892 metric_no_threshold, user_requested_cpu_list, system_wide, in resolve_metric()
913 * @system_wide: Are events for all processes recorded.
929 bool system_wide, in __add_metric()
209 metric__new(const struct pmu_metric *pm, const char *modifier, bool metric_no_group, int runtime, const char *user_requested_cpu_list, bool system_wide) metric__new() argument
839 resolve_metric(struct list_head *metric_list, const char *pmu, const char *modifier, bool metric_no_group, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct metric *root_metric, const struct visited_metric *visited, const struct pmu_metrics_table *table) resolve_metric() argument
922 __add_metric(struct list_head *metric_list, const struct pmu_metric *pm, const char *modifier, bool metric_no_group, bool metric_no_threshold, int runtime, const char *user_requested_cpu_list, bool system_wide, struct metric *root_metric, const struct visited_metric *visited, const struct pmu_metrics_table *table) __add_metric() argument
1076 add_metric(struct list_head *metric_list, const struct pmu_metric *pm, const char *modifier, bool metric_no_group, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct metric *root_metric, const struct visited_metric *visited, const struct pmu_metrics_table *table) add_metric() argument
1191 bool system_wide; global() member
1231 metricgroup__add_metric(const char *pmu, const char *metric_name, const char *modifier, bool metric_no_group, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct list_head *metric_list, const struct pmu_metrics_table *table) metricgroup__add_metric() argument
1313 metricgroup__add_metric_list(const char *pmu, const char *list, bool metric_no_group, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct list_head *metric_list, const struct pmu_metrics_table *table) metricgroup__add_metric_list() argument
1523 parse_groups(struct evlist *perf_evlist, const char *pmu, const char *str, bool metric_no_group, bool metric_no_merge, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct perf_pmu *fake_pmu, struct rblist *metric_events_list, const struct pmu_metrics_table *table) parse_groups() argument
1685 metricgroup__parse_groups(struct evlist *perf_evlist, const char *pmu, const char *str, bool metric_no_group, bool metric_no_merge, bool metric_no_threshold, const char *user_requested_cpu_list, bool system_wide, struct rblist *metric_events) metricgroup__parse_groups() argument
[all...]
H A Dsmt.h15 bool core_wide(bool system_wide, const char *user_requested_cpu_list);
H A Dmetricgroup.h79 bool system_wide,
H A Dexpr.h11 bool system_wide; member
H A Dconfig.c518 static const char *system_wide; in perf_etc_perfconfig() local
519 if (!system_wide) in perf_etc_perfconfig()
520 system_wide = system_path(ETC_PERFCONFIG); in perf_etc_perfconfig()
521 return system_wide; in perf_etc_perfconfig()
H A Devlist.c280 struct evsel *evlist__add_aux_dummy(struct evlist *evlist, bool system_wide) in evlist__add_aux_dummy() argument
290 evsel->core.system_wide = system_wide; in evlist__add_aux_dummy()
299 struct evsel *evlist__add_sched_switch(struct evlist *evlist, bool system_wide) in evlist__add_sched_switch() argument
309 evsel->core.system_wide = system_wide; in evlist__add_sched_switch()
1037 bool all_threads = (target->per_thread && target->system_wide); in evlist__create_maps()
1044 * target->system_wide = true. in evlist__create_maps()
1047 * target->per_thread = true and target->system_wide = false. in evlist__create_maps()
1049 * So target->per_thread && target->system_wide i in evlist__create_maps()
[all...]
H A Devlist.h118 struct evsel *evlist__add_aux_dummy(struct evlist *evlist, bool system_wide);
124 struct evsel *evlist__add_sched_switch(struct evlist *evlist, bool system_wide);
H A Dexpr.c306 ctx->sctx.system_wide = false; in expr__ctx_new()
454 result = core_wide(ctx->system_wide, ctx->user_requested_cpu_list) in expr__get_literal()
H A Dstat.h93 bool system_wide; member
/kernel/linux/linux-6.6/tools/lib/perf/
H A Devlist.c39 if (evsel->system_wide) { in __perf_evlist__propagate_maps()
70 if (evsel->system_wide) { in __perf_evlist__propagate_maps()
327 if (evsel->system_wide) in perf_evlist__alloc_pollfd()
463 if (evsel->system_wide && thread) in mmap_per_evsel()
525 flgs = evsel->system_wide ? fdarray_flag__nonfilterable : fdarray_flag__default; in mmap_per_evsel()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-stat.c1185 OPT_BOOLEAN('a', "all-cpus", &target.system_wide,
2063 stat_config.system_wide, in add_default_attributes()
2096 stat_config.system_wide, in add_default_attributes()
2130 stat_config.system_wide, in add_default_attributes()
2171 stat_config.system_wide, in add_default_attributes()
2459 target.system_wide = true; in setup_system_wide()
2471 target.system_wide = true; in setup_system_wide()
2639 if (!target.system_wide || target.cpu_list) { in cmd_stat()
2677 target.system_wide = true; in cmd_stat()
2680 if ((stat_config.aggr_mode == AGGR_THREAD) && (target.system_wide)) in cmd_stat()
[all...]
/kernel/linux/linux-5.10/tools/lib/perf/include/internal/
H A Devsel.h50 bool system_wide; member
/kernel/linux/linux-6.6/tools/lib/perf/include/internal/
H A Devsel.h64 * system_wide is for events that need to be on every CPU, irrespective
69 bool system_wide; member
/kernel/linux/linux-5.10/tools/lib/perf/
H A 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()
/kernel/linux/linux-6.6/tools/perf/tests/shell/lib/
H A Dperf_json_output_lint.py87 if args.no_args or args.system_wide or args.event:
/kernel/linux/linux-5.10/tools/perf/
H A 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()
H A 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()
H A Dbuiltin-script.c74 static bool system_wide; variable
2036 if (counter->core.system_wide) in __process_stat()
3253 system_wide = (argc == 0); in have_cmd()
3515 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script()
3707 system_wide = true; in cmd_script()
3708 } else if (!system_wide) { in cmd_script()
3724 if (system_wide) in cmd_script()
3771 system_wide = false; in cmd_script()
3772 else if (!system_wide) { in cmd_script()
3788 if (system_wide) in cmd_script()
[all...]
/kernel/linux/linux-6.6/tools/perf/bench/
H A Devlist-open-close.c54 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, "system-wide collection from all CPUs"),

Completed in 26 milliseconds

12