diff options
author | Mark Wielaard <mjw@redhat.com> | 2009-03-18 12:11:25 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2009-03-18 12:11:25 +0100 |
commit | 7d6fe193398090a3fb1847fc1a286772db114893 (patch) | |
tree | 872787782fdd42fb8acfb7999d65071e68509f96 /testsuite/systemtap.samples | |
parent | 67af0ab2fac61cce5a9a271c385939b5a8c77f87 (diff) | |
parent | bc1a99dfcf9cd081ddf37f362dc1af2158c016b8 (diff) | |
download | systemtap-steved-7d6fe193398090a3fb1847fc1a286772db114893.tar.gz systemtap-steved-7d6fe193398090a3fb1847fc1a286772db114893.tar.xz systemtap-steved-7d6fe193398090a3fb1847fc1a286772db114893.zip |
Merge branch 'master' into pr6866
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r-- | testsuite/systemtap.samples/ioblocktest.exp | 11 | ||||
-rw-r--r-- | testsuite/systemtap.samples/ioblocktest.stp | 12 |
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) -} |