summaryrefslogtreecommitdiffstats
path: root/stapex.5.in
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-10 15:38:18 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-10 15:38:18 -0400
commit16442b904ea51eedfbef36edc9791f5904d81099 (patch)
tree9cd4caff6a5f1d95421780fe052b79c7d8f1d6ca /stapex.5.in
parent2881ab63dced89cf57ccf5036eca0a2e6da8a00f (diff)
downloadsystemtap-steved-16442b904ea51eedfbef36edc9791f5904d81099.tar.gz
systemtap-steved-16442b904ea51eedfbef36edc9791f5904d81099.tar.xz
systemtap-steved-16442b904ea51eedfbef36edc9791f5904d81099.zip
PR2949: listings mode (stap -l PROBE)
2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 2949. * session.h (listing_mode): New field. * main.cxx (main): Test it. Enjoy it. (usage): Document it. * stap.1.in, stapex.5.in: Ditto. * elaborate.cxx (print_error): Disable error messages in listing mode. 2008-04-10 Frank Ch. Eigler <fche@elastic.org> PR 2949 * systemtap.base/cmd_parse.exp: Add "-l" listing test.
Diffstat (limited to 'stapex.5.in')
-rw-r--r--stapex.5.in6
1 files changed, 2 insertions, 4 deletions
diff --git a/stapex.5.in b/stapex.5.in
index 86e1c87b..2c9ecb60 100644
--- a/stapex.5.in
+++ b/stapex.5.in
@@ -101,11 +101,9 @@ probe kernel.function("sys_mkdir") { println ("enter") }
probe kernel.function("sys_mkdir").return { println ("exit") }
.ESAMPLE
-To list the probeable functions in the kernel, use the last-pass
-option to the translator. That output needs to be filtered because
-each inlined function instance is listed separately.
+To list the probeable functions in the kernel, use the listings mode.
.SAMPLE
-% stap \-p2 \-e \[aq]probe kernel.function("*") {}\[aq] | sort | uniq
+% stap \-l \[aq]kernel.function("*")\[aq]
.ESAMPLE
.SH SEE ALSO