summaryrefslogtreecommitdiffstats
path: root/stapprobes.5.in
diff options
context:
space:
mode:
authorfche <fche>2007-03-30 19:17:02 +0000
committerfche <fche>2007-03-30 19:17:02 +0000
commitb8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7 (patch)
tree82225c0ef08f075dc0a5e9a8d59ed3d37a072b1c /stapprobes.5.in
parent3be43eac84e5819b72dd311c3283ef2ea5bb1d83 (diff)
downloadsystemtap-steved-b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7.tar.gz
systemtap-steved-b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7.tar.xz
systemtap-steved-b8da0ad19d9dfcf88c4cd6dcf7b8aa73fc5016d7.zip
2007-03-30 Frank Ch. Eigler <fche@redhat.com>
PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose.
Diffstat (limited to 'stapprobes.5.in')
-rw-r--r--stapprobes.5.in18
1 files changed, 13 insertions, 5 deletions
diff --git a/stapprobes.5.in b/stapprobes.5.in
index 9f97ef01..0df9a893 100644
--- a/stapprobes.5.in
+++ b/stapprobes.5.in
@@ -157,10 +157,13 @@ variant places a probe at the moment of return from the named function, so
the return value is available as the "$return" context variable.
The
.B .inline
-variant is similar to
+modifier for
.B .function
-but probes inline functions. Inline functions do not have an identifiable
-return point, so
+filters the results to include only instances of inlined functions.
+The
+.B .call
+modifier selects the opposite subset. Inline functions do not have an
+identifiable return point, so
.B .return
is not supported on
.B .inline
@@ -171,15 +174,20 @@ that are visible there.
.SAMPLE
kernel.function(PATTERN)
.br
+kernel.function(PATTERN).call
+.br
kernel.function(PATTERN).return
.br
-kernel.inline(PATTERN)
+kernel.function(PATTERN).inline
.br
module(MPATTERN).function(PATTERN)
.br
+module(MPATTERN).function(PATTERN).call
+.br
module(MPATTERN).function(PATTERN).return
.br
-module(MPATTERN).inline(PATTERN)
+module(MPATTERN).function(PATTERN).inline
+.br
.br
kernel.statement(PATTERN)
.br