summaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation/perf.txt
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2014-07-17 12:55:00 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-07-17 12:58:59 -0300
commitbbb2cea7e8dd496b41558df1a0ec9205497b7ebf (patch)
tree7a73131f1871315194c0a3a594c82b0946c3ca3d /tools/perf/Documentation/perf.txt
parentc95688aac7723c17b2badc23233706b2f02e58ed (diff)
downloadlinux-bbb2cea7e8dd496b41558df1a0ec9205497b7ebf.tar.gz
linux-bbb2cea7e8dd496b41558df1a0ec9205497b7ebf.tar.bz2
linux-bbb2cea7e8dd496b41558df1a0ec9205497b7ebf.zip
perf tools: Add --debug optionto set debug variable
Adding --debug option as a way to setup debug variables. Starting with support for verbose, more will come. It's possible to use it now with report command: $ perf --debug verbose ... $ perf --debug verbose=2 ... I'll need this support to add separated debug variable for ordered events change in order to separate debug output out of standard verbose stream. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20140717105500.GG516@krava.redhat.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation/perf.txt')
-rw-r--r--tools/perf/Documentation/perf.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/tools/perf/Documentation/perf.txt b/tools/perf/Documentation/perf.txt
index 0eeb247dc7d2..d240bb2e5b22 100644
--- a/tools/perf/Documentation/perf.txt
+++ b/tools/perf/Documentation/perf.txt
@@ -8,7 +8,15 @@ perf - Performance analysis tools for Linux
SYNOPSIS
--------
[verse]
-'perf' [--version] [--help] COMMAND [ARGS]
+'perf' [--version] [--help] [OPTIONS] COMMAND [ARGS]
+
+OPTIONS
+-------
+--debug::
+ Setup debug variable (just verbose for now) in value
+ range (0, 10). Use like:
+ --debug verbose # sets verbose = 1
+ --debug verbose=2 # sets verbose = 2
DESCRIPTION
-----------