aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/Documentation
diff options
context:
space:
mode:
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>2010-10-21 06:13:35 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-10-21 14:06:42 -0400
commitfb8c5a56c7ddbc2b0d2ee7a8da60fe1355f75141 (patch)
tree0d7575627d9fbcdeb642fbcb6ed84744fe9763f5 /tools/perf/Documentation
parentc82ec0a2bd7725a2d2ac3065d8cde13e1f717d3c (diff)
perf probe: Show accessible global variables
Add --externs for allowing --vars to show accessible global (externally defined) variables from a given probe point too. This will give you a hint which globals can be accessible from the probe point. Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> Cc: Ingo Molnar <mingo@elte.hu> Cc: Frederic Weisbecker <fweisbec@gmail.com> LKML-Reference: <20101021101335.3542.31003.stgit@ltc236.sdl.hitachi.co.jp> Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Documentation')
-rw-r--r--tools/perf/Documentation/perf-probe.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/perf/Documentation/perf-probe.txt b/tools/perf/Documentation/perf-probe.txt
index 72f5d9e21432..148c178a35aa 100644
--- a/tools/perf/Documentation/perf-probe.txt
+++ b/tools/perf/Documentation/perf-probe.txt
@@ -18,7 +18,7 @@ or
18or 18or
19'perf probe' --line='FUNC[:RLN[+NUM|:RLN2]]|SRC:ALN[+NUM|:ALN2]' 19'perf probe' --line='FUNC[:RLN[+NUM|:RLN2]]|SRC:ALN[+NUM|:ALN2]'
20or 20or
21'perf probe' --vars='PROBEPOINT' 21'perf probe' [--externs] --vars='PROBEPOINT'
22 22
23DESCRIPTION 23DESCRIPTION
24----------- 24-----------
@@ -64,6 +64,10 @@ OPTIONS
64 Show available local variables at given probe point. The argument 64 Show available local variables at given probe point. The argument
65 syntax is same as PROBE SYNTAX, but NO ARGs. 65 syntax is same as PROBE SYNTAX, but NO ARGs.
66 66
67--externs::
68 (Only for --vars) Show external defined variables in addition to local
69 variables.
70
67-f:: 71-f::
68--force:: 72--force::
69 Forcibly add events with existing name. 73 Forcibly add events with existing name.