diff options
author | 2018-01-07 17:03:54 +0100 | |
---|---|---|
committer | 2018-01-10 12:00:55 -0300 | |
commit | 075ca1ebb25e798e4072a1e3a482b829bb51afb2 (patch) | |
tree | 395cf718afa2ebeef7331f534f59d4f8921d51b1 /tools/perf/util/tool.h | |
parent | perf script: Add support to display lost events (diff) | |
download | linux-075ca1ebb25e798e4072a1e3a482b829bb51afb2.tar.gz linux-075ca1ebb25e798e4072a1e3a482b829bb51afb2.tar.bz2 linux-075ca1ebb25e798e4072a1e3a482b829bb51afb2.zip |
perf tools: Make the tool's warning messages optional
I want to display the pure events status coming in the next patch and
the tool's warnings are superfluous in the output. Making it optional,
enabled by default.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20180107160356.28203-11-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/tool.h')
-rw-r--r-- | tools/perf/util/tool.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/tool.h b/tools/perf/util/tool.h index 2532b558099b..183c91453522 100644 --- a/tools/perf/util/tool.h +++ b/tools/perf/util/tool.h @@ -76,6 +76,7 @@ struct perf_tool { bool ordered_events; bool ordering_requires_timestamps; bool namespace_events; + bool no_warn; enum show_feature_header show_feat_hdr; }; |