summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authortpnguyen <tpnguyen>2006-06-08 23:18:46 +0000
committertpnguyen <tpnguyen>2006-06-08 23:18:46 +0000
commit628a07f130c67aa5de7134c761dd443ff547339a (patch)
tree4eb7ede85903e0eb34ff817269a0a5f08da292d4 /testsuite/buildok
parentd3a4bc8e677296e6a2a6c270f2c7663253041cc2 (diff)
downloadsystemtap-steved-628a07f130c67aa5de7134c761dd443ff547339a.tar.gz
systemtap-steved-628a07f130c67aa5de7134c761dd443ff547339a.tar.xz
systemtap-steved-628a07f130c67aa5de7134c761dd443ff547339a.zip
*** empty log message ***
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/ioblock_test.stp11
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/buildok/ioblock_test.stp b/testsuite/buildok/ioblock_test.stp
new file mode 100755
index 00000000..f15d1643
--- /dev/null
+++ b/testsuite/buildok/ioblock_test.stp
@@ -0,0 +1,11 @@
+#! stap -p4
+
+probe ioblock.submit {
+ log(pp())
+ printf("%s\t%d\t%s\t%d\n", bio_devname, sector, rw_string, rw)
+}
+
+probe ioblock.end {
+ log(pp())
+ printf("%s\t%d\t%d\t%s\t%d\t%d\n", bio_devname, sector, bytes_done, rw_string, rw, error)
+}