perf tools: Make the tool's warning messages optional
authorJiri Olsa <jolsa@kernel.org>
Sun, 7 Jan 2018 16:03:54 +0000 (17:03 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 10 Jan 2018 15:00:55 +0000 (12:00 -0300)
commit075ca1ebb25e798e4072a1e3a482b829bb51afb2
tree395cf718afa2ebeef7331f534f59d4f8921d51b1
parent3d7c27b6dbca4c90e7d921b45c2240e7c3cb92a2
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>
tools/perf/util/session.c
tools/perf/util/tool.h