Home
last modified time | relevance | path

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

12

/linux/tools/perf/util/
H A Dtarget.h13 bool system_wide; member
59 return target->system_wide || target->cpu_list; in target__has_cpu()
80 return target->system_wide && target->per_thread; in target__has_per_thread()
H A Dmetricgroup.c227 bool system_wide) in metric__new() argument
258 m->pctx->sctx.system_wide = system_wide; in metric__new()
689 bool system_wide;
701 bool system_wide,
726 * @system_wide: Are events for all processes recorded.
741 bool system_wide, in resolve_metric()
790 metric_no_threshold, user_requested_cpu_list, system_wide, in resolve_metric()
811 * @system_wide: Are events for all processes recorded.
827 bool system_wide, in __add_metric()
693 bool system_wide; global() member
745 resolve_metric(struct list_head * metric_list,struct perf_pmu * 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
831 __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
950 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
1036 bool system_wide; global() member
1079 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
1133 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
1394 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,bool fake_pmu,const struct pmu_metrics_table * table) parse_groups() argument
1569 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,bool hardware_aware_grouping) metricgroup__parse_groups() argument
[all...]
H A Dtarget.c32 if (target->tid && target->system_wide) { in target__validate()
33 target->system_wide = false; in target__validate()
60 if (target->per_thread && (target->system_wide || target->cpu_list)) { in target__validate()
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 Dtool_pmu.c291 if (!evsel->cgrp && !evsel->core.system_wide) in evsel__tool_pmu_open()
387 bool system_wide, in tool_pmu__read_event()
482 *result = core_wide(system_wide, user_requested_cpu_list) ? 1 : 0; in evsel__tool_pmu_read()
486 *result = system_wide || (user_requested_cpu_list != NULL) ? 1 : 0; in evsel__tool_pmu_read()
650 stat_config.system_wide,
337 tool_pmu__read_event(enum tool_pmu_event ev,struct evsel * evsel,bool system_wide,const char * user_requested_cpu_list,u64 * result) tool_pmu__read_event() argument
H A Dsmt.h15 bool core_wide(bool system_wide, const char *user_requested_cpu_list);
H A Devlist.h345 struct evsel *evlist__add_aux_dummy(struct evlist *evlist, bool system_wide);
351 struct evsel *evlist__add_sched_switch(struct evlist *evlist, bool system_wide);
627 struct evsel *evlist__findnew_tracking_event(struct evlist *evlist, bool system_wide);
H A Dtool_pmu.h41 bool system_wide,
H A Dmetricgroup.h80 bool system_wide,
H A Dconfig.c556 static const char *system_wide; in perf_env_bool()
557 if (!system_wide) in perf_env_bool()
558 system_wide = system_path(ETC_PERFCONFIG); in perf_env_bool()
559 return system_wide; in perf_env_bool()
550 static const char *system_wide; perf_etc_perfconfig() local
H A Dexpr.h11 bool system_wide; member
H A Dstat-shadow.c160 pctx->sctx.system_wide = config->system_wide; in generic_metric()
H A Devlist.c359 struct evsel *evlist__add_aux_dummy(struct evlist *evlist, bool system_wide) in evlist__add_newtp()
369 evsel->core.system_wide = system_wide; in evlist__use_affinity()
378 struct evsel *evlist__add_sched_switch(struct evlist *evlist, bool system_wide) in evlist__use_affinity()
389 evsel->core.system_wide = system_wide; in evlist__use_affinity()
1146 bool all_threads = (target->per_thread && target->system_wide); in evlist__set_tp_filter()
1153 * target->system_wide = true. in evlist__append_tp_filter()
1156 * target->per_thread = true and target->system_wide = false. in evlist__append_tp_filter()
1158 * So target->per_thread && target->system_wide i in evlist__append_tp_filter()
297 evlist__add_aux_dummy(struct evlist * evlist,bool system_wide) evlist__add_aux_dummy() argument
316 evlist__add_sched_switch(struct evlist * evlist,bool system_wide) evlist__add_sched_switch() argument
1780 evlist__findnew_tracking_event(struct evlist * evlist,bool system_wide) evlist__findnew_tracking_event() argument
[all...]
H A Dstat.h89 bool system_wide;
88 bool system_wide; global() member
H A Dbpf_off_cpu.c59 evsel->core.system_wide = true; in off_cpu_config()
H A Dexpr.c424 ctx->system_wide, ctx->user_requested_cpu_list, in expr__has_event()
H A Dstat.c419 if (count->val == 0 && config->system_wide) in process_counter_values()
/linux/tools/lib/perf/
H A Devlist.c47 if (evlist->has_user_cpus && !evsel->system_wide) { in __perf_evlist__propagate_maps()
74 if (evlist->has_user_cpus && !evsel->system_wide) { in __perf_evlist__propagate_maps()
96 if (!evsel->system_wide && in __perf_evlist__propagate_maps()
145 if (evsel->system_wide) { in __perf_evlist__propagate_maps()
418 if (evsel->system_wide) in perf_evlist__alloc_pollfd()
554 if (evsel->system_wide && thread) in mmap_per_evsel()
616 flgs = evsel->system_wide ? fdarray_flag__nonfilterable : fdarray_flag__default; in mmap_per_evsel()
835 if (!evsel->system_wide) { in perf_evlist__go_system_wide()
836 evsel->system_wide = true; in perf_evlist__go_system_wide()
/linux/tools/perf/
H A Dbuiltin-stat.c2015 stat_config.system_wide, in add_default_events()
2054 stat_config.system_wide, in add_default_events()
2091 stat_config.system_wide, in add_default_events()
2132 stat_config.system_wide,
2428 target.system_wide = true; in cmd_stat()
2440 target.system_wide = true; in cmd_stat()
2496 OPT_BOOLEAN('a', "all-cpus", &target.system_wide, in cmd_stat()
2816 if (!target.system_wide || target.cpu_list) { in cmd_stat()
2854 target.system_wide = true; in cmd_stat()
2857 if ((stat_config.aggr_mode == AGGR_THREAD) && (target.system_wide)) in cmd_stat()
[all...]
H A Dbuiltin-script.c91 static bool system_wide;
2141 bool system_wide; in map_metric_evsel_to_script_evsel()
2183 args->system_wide, in script_find_metrics()
2315 .system_wide = perf_thread_map__pid(evsel->core.threads, /*idx=*/0) == -1, in perf_sample__fprint_metric()
3854 system_wide = (argc == 0); in process_stat_round_event()
4107 OPT_BOOLEAN('a', "all-cpus", &system_wide, in cmd_script()
4326 system_wide = true; in cmd_script()
4327 } else if (!system_wide) { in cmd_script()
4343 if (system_wide) in cmd_script()
4390 system_wide in cmd_script()
87 static bool system_wide; global() variable
2129 bool system_wide; global() member
[all...]
H A Dbuiltin-kvm.c1024 if (kvm->opts.target.system_wide) in print_vcpu_info()
1765 kvm->opts.target.system_wide = true; in kvm_events_report()
1833 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.c913 * If non-dummy evsel exists, system_wide sideband is need to in record__config_off_cpu()
930 bool system_wide = false; in record__tracking_system_wide()
945 system_wide = true; in record__config_tracking_events()
947 evsel = evlist__findnew_tracking_event(evlist, system_wide); in record__config_tracking_events()
3491 OPT_BOOLEAN('a', "all-cpus", &record.opts.target.system_wide,
4126 rec->opts.target.system_wide = true; in cmd_record()
4128 if (nr_cgroups && !rec->opts.target.system_wide) { in cmd_record()
4142 if (record.opts.target.system_wide) { in cmd_record()
940 bool system_wide = false; record__config_tracking_events() local
/linux/tools/lib/perf/include/internal/
H A Devsel.h123 bool system_wide; member
/linux/tools/perf/tests/shell/lib/
H A Dperf_json_output_lint.py100 if args.no_args or args.system_wide or args.event:
/linux/tools/perf/bench/
H A Devlist-open-close.c231 OPT_BOOLEAN('a', "all-cpus", &opts.target.system_wide, in bench_evlist_open_close()

12