summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/bz5274.a.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.base/bz5274.a.stp')
-rwxr-xr-xtestsuite/systemtap.base/bz5274.a.stp16
1 files changed, 16 insertions, 0 deletions
diff --git a/testsuite/systemtap.base/bz5274.a.stp b/testsuite/systemtap.base/bz5274.a.stp
new file mode 100755
index 00000000..1d3aefc0
--- /dev/null
+++ b/testsuite/systemtap.base/bz5274.a.stp
@@ -0,0 +1,16 @@
+#! /bin/env stap
+probe process("./bz5274").function("funcb").call,
+ process("./bz5274").function("funcc").call,
+ process("./bz5274").function("funcd").call
+{
+ printf("%s Entering %s\n", pp(), thread_indent(1))
+}
+
+
+probe process("./bz5274").function("funcb").return,
+ process("./bz5274").function("funcc").return,
+ process("./bz5274").function("funcd").return
+{
+ printf("%s %s returns %s\n", pp(), thread_indent(-1), returnstr(2))
+}
+