summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/bz6850.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/bz6850.stp')
-rw-r--r--testsuite/systemtap.base/bz6850.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/bz6850.stp b/testsuite/systemtap.base/bz6850.stp
new file mode 100644
index 00000000..d6f41862
--- /dev/null
+++ b/testsuite/systemtap.base/bz6850.stp
@@ -0,0 +1,7 @@
+#! stap -p4
+probe process("./bz6850").function("*").call {
+ printf("%s called\n", probefunc())
+}
+probe process("./bz6850").function("*").return {
+ printf("%s returns\n", probefunc())
+}