From 369ba3dec9e78c65f9405f20a2b14c8e9cf2940c Mon Sep 17 00:00:00 2001 From: Martin Peschke Date: Tue, 28 Oct 2008 17:08:02 +0100 Subject: [PATCH] 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 Signed-off-by: Jens Axboe --- blkiomon.h | 4 ++-- 1 file 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 -- 2.25.1