summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peschke <mpeschke@linux.vnet.ibm.com>2008-10-28 17:08:02 +0100
committerJens Axboe <jens.axboe@oracle.com>2008-10-28 19:09:40 +0100
commit369ba3dec9e78c65f9405f20a2b14c8e9cf2940c (patch)
tree19fd392a346713cf38e5e335bd1500d1a03f7716
parent7aa3ebcec011bfe9cc60d6476252c03376a37551 (diff)
downloadblktrace-369ba3dec9e78c65f9405f20a2b14c8e9cf2940c.tar.gz
blktrace-369ba3dec9e78c65f9405f20a2b14c8e9cf2940c.tar.bz2
blkiomon: fix unit in histogram output
Fix unit of request sizes as printed in histogram (it's bytes not kilobytes). Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--blkiomon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/blkiomon.h b/blkiomon.h
index f681ab8..046cb21 100644
--- a/blkiomon.h
+++ b/blkiomon.h
@@ -98,8 +98,8 @@ static inline void blkiomon_stat_print(FILE *fp, struct blkiomon_stat *p)
(unsigned long)p->bidir);
minmax_print(fp, "sizes", &p->size_mm);
minmax_print(fp, "d2c", &p->d2c_mm);
- histlog2_print(fp, "sizes histogram (in kB)", p->size_hist, &size_hist);
- histlog2_print(fp, "d2c histogram (in usec)", p->d2c_hist, &d2c_hist);
+ histlog2_print(fp, "sizes histogram (bytes)", p->size_hist, &size_hist);
+ histlog2_print(fp, "d2c histogram (usec)", p->d2c_hist, &d2c_hist);
}
#endif