From 30cd73d30479b05ae2511a68fb53bae88e7f478e Mon Sep 17 00:00:00 2001 From: mmason Date: Sat, 13 Jan 2007 19:05:07 +0000 Subject: Fix for ioblocktest.exp test (PR 3867) --- testsuite/systemtap.samples/ioblocktest.stp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'testsuite/systemtap.samples') diff --git a/testsuite/systemtap.samples/ioblocktest.stp b/testsuite/systemtap.samples/ioblocktest.stp index 43b3e7d0..4aa3c3a9 100644 --- a/testsuite/systemtap.samples/ioblocktest.stp +++ b/testsuite/systemtap.samples/ioblocktest.stp @@ -2,11 +2,9 @@ global teststr probe begin { log("systemtap starting probe") } -probe ioblock.request { - teststr = sprintf("ioblock: %s\t%d\t%s\t%d\n", devname, sector, bio_rw_str(rw), rw) -} -probe ioblock.end { - teststr = sprintf("ioblock: %s\t%d\t%s\t%d\n", devname, sector, bio_rw_str(rw), rw) +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 { log("systemtap ending probe") -- cgit