summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/stat.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2018-08-30 08:32:43 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2018-08-30 15:52:24 -0300
commit3b3cd9a41c2b5d97309099ba6eae69b2d3177226 (patch)
treed94c592528d32ac963e2e85ea27586ff9aa841c3 /tools/perf/util/stat.h
parent31084123c1962dd4235655c1839a50c9cf6c709b (diff)
downloadblackbird-op-linux-3b3cd9a41c2b5d97309099ba6eae69b2d3177226.tar.gz
blackbird-op-linux-3b3cd9a41c2b5d97309099ba6eae69b2d3177226.zip
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 {
int times;
int run_count;
int print_free_counters_hint;
+ int print_mixed_hw_group_error;
struct runtime_stat *stats;
int stats_num;
const char *csv_sep;
OpenPOWER on IntegriCloud