diff options
Diffstat (limited to 'testsuite/buildok/ioblock_test.stp')
-rwxr-xr-x | testsuite/buildok/ioblock_test.stp | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/testsuite/buildok/ioblock_test.stp b/testsuite/buildok/ioblock_test.stp index 3faaab15..4d3dadfa 100755 --- a/testsuite/buildok/ioblock_test.stp +++ b/testsuite/buildok/ioblock_test.stp @@ -5,14 +5,23 @@ probe ioblock.request { add_part = 0 if (bdev != bdev_contains) add_part = p_start_sect +%(kernel_v < "2.6.28" %? printf("%s\t%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%d\t%d\t%d\n", - devname, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, - hw_segments, size, add_part, ino) + devname, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, hw_segments, size, add_part, ino) +%: + printf("%s\t%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%d\t%d\n", + devname, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, size, add_part, ino) +%) + } probe ioblock.end { log(pp()) +%(kernel_v < "2.6.28" %? printf("%s\t%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\n", - devname, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, - hw_segments, size, bytes_done, error, ino) + devname, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, hw_segments, size, bytes_done, error, ino) +%: + printf("%s\t%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%d\t%d\t%d\n", + devname, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, size, bytes_done, error, ino) +%) } |