summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-03-19 12:47:30 -0400
committerDave Brolley <brolley@redhat.com>2009-03-19 12:47:30 -0400
commit1ca3466b0426566a6c6ba03251d8cca3d111f170 (patch)
tree92f6c41ebb29dc4210551bfea7ebc796d7472e2d /testsuite/systemtap.samples
parent2855f6351e26f51953af11b17c4499df4d3d3441 (diff)
parent59b30bda24855bc46608a126efad8e150196721c (diff)
downloadsystemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.tar.gz
systemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.tar.xz
systemtap-steved-1ca3466b0426566a6c6ba03251d8cca3d111f170.zip
Merge branch 'master' of git://sources.redhat.com/git/systemtap
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)
-}