summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorWenji Huang <wenji.huang@oracle.com>2009-11-23 14:03:33 +0800
committerWenji Huang <wenji.huang@oracle.com>2009-11-23 14:03:33 +0800
commitb28d67e28087f208ecfd888b4518bb9efb2bf552 (patch)
tree6ab0b81572a9dedca91015a0757cf9586a0f4a40 /testsuite
parent4eea0069b8b677657dcfea3effa2f342d0e5d27f (diff)
downloadsystemtap-steved-b28d67e28087f208ecfd888b4518bb9efb2bf552.tar.gz
systemtap-steved-b28d67e28087f208ecfd888b4518bb9efb2bf552.tar.xz
systemtap-steved-b28d67e28087f208ecfd888b4518bb9efb2bf552.zip
Correct block IO and IO scheduler tapset and test case
* tapset/ioblock.stp: Update comment and variables. * testsuite/buildok/ioblock_test.stp: Add parameters. * testsuite/buildok/ioscheduler.stp: Remove redundant parameters.
Diffstat (limited to 'testsuite')
-rwxr-xr-xtestsuite/buildok/ioblock_test.stp4
-rwxr-xr-xtestsuite/buildok/ioscheduler.stp3
2 files changed, 3 insertions, 4 deletions
diff --git a/testsuite/buildok/ioblock_test.stp b/testsuite/buildok/ioblock_test.stp
index 55237994..21595021 100755
--- a/testsuite/buildok/ioblock_test.stp
+++ b/testsuite/buildok/ioblock_test.stp
@@ -29,6 +29,6 @@ probe ioblock.end {
probe ioblock_trace.*
{
log(pp())
- printf("%s\t%p\t%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%d\t%d\t%d\n",
- devname, q, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, size, bytes_done, error, ino)
+ printf("%s\t%d\t%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%d\t%d\t%p\t%p\t%d\n",
+ devname, q, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, size, bytes_done, ino, p_start_sect, bdev_contains, bdev)
}
diff --git a/testsuite/buildok/ioscheduler.stp b/testsuite/buildok/ioscheduler.stp
index 55ef9a0f..8b377619 100755
--- a/testsuite/buildok/ioscheduler.stp
+++ b/testsuite/buildok/ioscheduler.stp
@@ -16,7 +16,6 @@ probe ioscheduler_trace.elv*
probe ioscheduler_trace.plug, ioscheduler_trace.unplug_io, ioscheduler_trace.unplug_timer
{
- printf("ppname: %s, request %p, elv_name: %s, %d, %d", probefunc(),
- rq_queue)
+ printf("ppname: %s, request %p", probefunc(), rq_queue)
}