Home
last modified time | relevance | path

Searched refs:metric_only (Results 1 – 8 of 8) sorted by relevance

/linux/tools/perf/tests/shell/
H A Dstat+std_output.sh33 local -i metric_only=0
45 ;; "--metric-only") metric_only=1
66 [ $metric_only -eq 1 ] && return 0
93 if [ $metric_only -ne 1 ]
/linux/tools/perf/util/
H A Dstat-display.c531 if (!config->metric_only) in print_metric_json()
808 pm = config->metric_only ? print_metric_only_csv : print_metric_csv; in printout()
809 nl = config->metric_only ? NULL : new_line_csv; in printout()
813 pm = config->metric_only ? print_metric_only_json : print_metric_json; in printout()
814 nl = config->metric_only ? NULL : new_line_json; in printout()
817 pm = config->metric_only ? print_metric_only : print_metric_std; in printout()
818 nl = config->metric_only ? NULL : new_line_std; in printout()
838 if (!config->metric_only && (!counter->default_metricgroup || counter->default_show_events)) { in printout()
845 if (!config->metric_only && counter->default_metricgroup && in printout()
873 if (!config->metric_only) { in printout()
[all …]
H A Dstat.h70 bool metric_only; member
H A Dstat-shadow.c294 if (!config->metric_only && me->is_default) { in perf_stat__print_shadow_stats_metricgroup()
/linux/tools/perf/tests/shell/lib/
H A Dperf_json_output_lint.py92 if args.metric_only:
106 elif args.metric_only:
/linux/tools/perf/
H A Dbuiltin-stat.c1152 stat_config.metric_only = !unset; in enable_metric_only()
2008 stat_config.metric_only = true; in add_default_events()
2025 stat_config.metric_only = true; in add_default_events()
2040 if (!stat_config.interval && !stat_config.metric_only) { in add_default_events()
2518 OPT_CALLBACK_NOOPT(0, "metric-only", &stat_config.metric_only, NULL, in cmd_stat()
2643 if (stat_config.metric_only && stat_config.aggr_mode == AGGR_THREAD) { in cmd_stat()
2648 if (stat_config.metric_only && stat_config.run_count > 1) { in cmd_stat()
2653 if (stat_config.csv_output || (stat_config.metric_only && stat_config.json_output)) { in cmd_stat()
/linux/tools/perf/arch/x86/util/
H A Diostat.c346 config->metric_only = true; in iostat_prepare()
/linux/tools/perf/Documentation/
H A Dperf-stat.txt545 oriented analysis. --metric_only will be applied by default.