summaryrefslogtreecommitdiffstats
path: root/testsuite/semko/procfs05.stp
diff options
context:
space:
mode:
authordsmith <dsmith>2007-09-14 16:53:50 +0000
committerdsmith <dsmith>2007-09-14 16:53:50 +0000
commit62d05fd6924b86fa27f3d73ce62d978e51eb09ed (patch)
treeabce69f5d823e950b5ef5ee8178b2f7a90b9a72a /testsuite/semko/procfs05.stp
parentcf8dc3c7fc65aa91a5a94906682af3acc9dca98b (diff)
downloadsystemtap-steved-62d05fd6924b86fa27f3d73ce62d978e51eb09ed.tar.gz
systemtap-steved-62d05fd6924b86fa27f3d73ce62d978e51eb09ed.tar.xz
systemtap-steved-62d05fd6924b86fa27f3d73ce62d978e51eb09ed.zip
2007-09-14 David Smith <dsmith@redhat.com>
PR 1154 * buildok/procfs01.stp: New test case. * semko/procfs01.stp: Ditto. * semko/procfs02.stp: Ditto. * semko/procfs03.stp: Ditto. * semko/procfs04.stp: Ditto. * semko/procfs05.stp: Ditto.
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)
+}