summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/utrace06.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/utrace06.stp')
-rwxr-xr-xtestsuite/semko/utrace06.stp4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/semko/utrace06.stp b/testsuite/semko/utrace06.stp
new file mode 100755
index 00000000..19e6043b
--- /dev/null
+++ b/testsuite/semko/utrace06.stp
@@ -0,0 +1,4 @@
+#! stap -p2
+
+# treat $syscall as a pointer
+probe process("/bin/cat").syscall { print($syscall->foo) }