summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok/per-process-syscall.stp
diff options
context:
space:
mode:
authorMasami Hiramatsu <mhiramat@redhat.com>2008-09-09 16:32:59 -0400
committerMasami Hiramatsu <mhiramat@redhat.com>2008-09-09 16:32:59 -0400
commit256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee (patch)
treec346a98b7867655e6f2ac0b40abafc0313dec9d6 /testsuite/buildok/per-process-syscall.stp
parent5d67b47ccd850e53c6c6c72a6f63327faa190966 (diff)
downloadsystemtap-steved-256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee.tar.gz
systemtap-steved-256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee.tar.xz
systemtap-steved-256d22cfb336b4cf0ec5b35bab89ca55ff5ce9ee.zip
Added tests for utrace-syscall probe context variables.
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)
+}