summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/procfs05.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/semko/procfs05.stp')
-rwxr-xr-xtestsuite/semko/procfs05.stp7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/semko/procfs05.stp b/testsuite/semko/procfs05.stp
new file mode 100755
index 00000000..f7861f2c
--- /dev/null
+++ b/testsuite/semko/procfs05.stp
@@ -0,0 +1,7 @@
+#! stap -p2
+
+# read from $value in a procfs read probe
+probe procfs.read {
+ x = $value
+ printf("%s\n", x)
+}