summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/per-process-syscall.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/buildok/per-process-syscall.stp')
-rwxr-xr-xtestsuite/buildok/per-process-syscall.stp18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/buildok/per-process-syscall.stp b/testsuite/buildok/per-process-syscall.stp
new file mode 100755
index 00000000..c2c41c0b
--- /dev/null
+++ b/testsuite/buildok/per-process-syscall.stp
@@ -0,0 +1,18 @@
+#! stap -p4
+#
+# per-process syscall trace test
+
+probe process.syscall {
+print($syscall)
+print($arg1)
+print($arg2)
+print($arg3)
+print($arg4)
+print($arg5)
+print($arg6)
+}
+
+probe process.syscall.return {
+print($syscall)
+print($return)
+}