aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2018-08-30 02:32:43 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-08-30 14:52:24 -0400
commit3b3cd9a41c2b5d97309099ba6eae69b2d3177226 (patch)
treed94c592528d32ac963e2e85ea27586ff9aa841c3 /tools/perf/util/stat.h
parent31084123c1962dd4235655c1839a50c9cf6c709b (diff)
perf stat: Move 'print_mixed_hw_group_error' to 'struct perf_stat_config'
Move the 'print_mixed_hw_group_error' global variable to 'struct perf_stat_config', so that it can be passed around and used outside the 'perf stat' command. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Link: http://lkml.kernel.org/r/20180830063252.23729-35-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/stat.h')
-rw-r--r--tools/perf/util/stat.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/stat.h b/tools/perf/util/stat.h
index 8cad17363e90..6fb4dac26ccc 100644
--- a/tools/perf/util/stat.h
+++ b/tools/perf/util/stat.h
@@ -104,6 +104,7 @@ struct perf_stat_config {
104 int times; 104 int times;
105 int run_count; 105 int run_count;
106 int print_free_counters_hint; 106 int print_free_counters_hint;
107 int print_mixed_hw_group_error;
107 struct runtime_stat *stats; 108 struct runtime_stat *stats;
108 int stats_num; 109 int stats_num;
109 const char *csv_sep; 110 const char *csv_sep;