summaryrefslogtreecommitdiff
path: root/blkparse_fmt.c
diff options
context:
space:
mode:
authorAlan D. Brunelle <Alan.Brunelle@hp.com>2006-03-24 11:06:59 +0100
committerJens Axboe <axboe@suse.de>2006-03-24 11:06:59 +0100
commite9f883ca480064f5a7c18b4a9145b6afb1da6de2 (patch)
tree3b323276b10a14627f7427d57edec62c4b19944d /blkparse_fmt.c
parent2f0647932059d868904c7f21e87c3ddaae404531 (diff)
downloadblktrace-e9f883ca480064f5a7c18b4a9145b6afb1da6de2.tar.gz
blktrace-e9f883ca480064f5a7c18b4a9145b6afb1da6de2.tar.bz2
[PATCH: Change remap format to have mapped-to information on the left of the ->
Pretty self-explanatory, works fine for MD devices. Looking into DM devices next (I think that _may_ take a kernel change).
Diffstat (limited to 'blkparse_fmt.c')
-rw-r--r--blkparse_fmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/blkparse_fmt.c b/blkparse_fmt.c
index ceeaaba..fe788b5 100644
--- a/blkparse_fmt.c
+++ b/blkparse_fmt.c
@@ -338,9 +338,9 @@ static void process_default(char *act, struct per_cpu_info *pci,
get_pdu_remap(t, &r);
fprintf(ofp, "%llu + %u <- (%d,%d) %llu\n",
- (unsigned long long) r.sector, t_sec(t),
+ (unsigned long long) t->sector, t_sec(t),
MAJOR(r.device), MINOR(r.device),
- (unsigned long long) t->sector);
+ (unsigned long long) r.sector);
break;
}