aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/util/debug.h
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2017-02-17 17:17:37 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-02-20 11:16:32 -0300
commit80df1988201ac6648609eba13d48aef9f7974c10 (patch)
treed0b80371f5ca39192866a30fd22f19369ea8f0d7 /tools/perf/util/debug.h
parentperf record: Add -a as default target (diff)
downloadwireguard-linux-80df1988201ac6648609eba13d48aef9f7974c10.tar.xz
wireguard-linux-80df1988201ac6648609eba13d48aef9f7974c10.zip
perf utils: Add perf_quiet_option()
The perf_quiet_option() is to suppress all messages. It's intended to be called just after parsing options. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: kernel-team@lge.com Link: http://lkml.kernel.org/r/20170217081742.17417-2-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/debug.h')
-rw-r--r--tools/perf/util/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/debug.h b/tools/perf/util/debug.h
index d242adc3d5a2..98832f5531d3 100644
--- a/tools/perf/util/debug.h
+++ b/tools/perf/util/debug.h
@@ -54,5 +54,6 @@ int veprintf(int level, int var, const char *fmt, va_list args);
int perf_debug_option(const char *str);
void perf_debug_setup(void);
+int perf_quiet_option(void);
#endif /* __PERF_DEBUG_H */