summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rwxr-xr-xtestsuite/buildok/ioblock_test.stp11
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 016fe1b2..d6a4863b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-06-08 Thang P Nguyen <thang.p.nguyen@intel.com>
+
+ * testsuite/buildok/ioblock_test.stp: test ioblock
+
2006-06-05 David Smith <dsmith@redhat.com>
* tapsets.cxx (dwflpp::express_as_string): New function.
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)
+}