summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2009-03-17 16:45:30 -0400
committerWilliam Cohen <wcohen@redhat.com>2009-03-17 16:45:30 -0400
commit67f8611b9ed9e40a7be946601293ac5b42c52686 (patch)
tree578b39c3d6df730e4c8f89e5d10a2be8b507a58e /testsuite/systemtap.samples
parent67aada05e69728327de1c7b8aeeaa0193668bed8 (diff)
downloadsystemtap-steved-67f8611b9ed9e40a7be946601293ac5b42c52686.tar.gz
systemtap-steved-67f8611b9ed9e40a7be946601293ac5b42c52686.tar.xz
systemtap-steved-67f8611b9ed9e40a7be946601293ac5b42c52686.zip
Replace systemtap.samples/ioblocktest.stp with ioblktime.stp.
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r--testsuite/systemtap.samples/ioblocktest.exp11
-rw-r--r--testsuite/systemtap.samples/ioblocktest.stp12
2 files changed, 0 insertions, 23 deletions
diff --git a/testsuite/systemtap.samples/ioblocktest.exp b/testsuite/systemtap.samples/ioblocktest.exp
deleted file mode 100644
index b5ab54c7..00000000
--- a/testsuite/systemtap.samples/ioblocktest.exp
+++ /dev/null
@@ -1,11 +0,0 @@
-# Test the functionality of the various ioblock probes.
-
-set test "ioblocktest"
-
-proc sleep_ten_secs {} {
- after 10000;
- return 0;
-}
-
-set output_string "ioblock: \\S+\t\\d+\t\[RW]\t\[01]\r\n"
-stap_run $srcdir/$subdir/$test.stp sleep_ten_secs $output_string
diff --git a/testsuite/systemtap.samples/ioblocktest.stp b/testsuite/systemtap.samples/ioblocktest.stp
deleted file mode 100644
index f8a1c568..00000000
--- a/testsuite/systemtap.samples/ioblocktest.stp
+++ /dev/null
@@ -1,12 +0,0 @@
-#! stap
-global teststr
-probe begin { println("systemtap starting probe") }
-
-probe ioblock.request, ioblock.end {
- teststr = sprintf("ioblock: %s\t%d\t%s\t%d\n", devname, sector,
- bio_rw_str(rw), bio_rw_num(rw))
-}
-probe end {
- println("systemtap ending probe")
- printf("%s", teststr)
-}