summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorfche <fche>2005-08-01 22:53:56 +0000
committerfche <fche>2005-08-01 22:53:56 +0000
commitfd6602a0d866cff012a1bd478272760fb7f2c31d (patch)
treee72c51a732a2d20654290c7fd1b0f0db4ad82e30 /testsuite
parent4fee0963a068b378e8cc1f39baaa455d86f58b64 (diff)
downloadsystemtap-steved-fd6602a0d866cff012a1bd478272760fb7f2c31d.tar.gz
systemtap-steved-fd6602a0d866cff012a1bd478272760fb7f2c31d.tar.xz
systemtap-steved-fd6602a0d866cff012a1bd478272760fb7f2c31d.zip
2005-08-01 Frank Ch. Eigler <fche@elastic.org>
* tapsets.cxx: Support ".return" option for function probe points. * testuite/buildok/five.stp: Try it.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/buildok/five.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/buildok/five.stp b/testsuite/buildok/five.stp
new file mode 100755
index 00000000..7663e50c
--- /dev/null
+++ b/testsuite/buildok/five.stp
@@ -0,0 +1,4 @@
+#! stap -p4
+
+probe kernel.function("schedule") { log "arrival" }
+probe kernel.function("schedule").return { log "departure" }