Skip to contentSkip to conversation

blkiomon: fix unit in histogram output

PATCH In review Martin Peschke 1 participant 1 message Oct 28, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 2/6 blkiomon: fix unit in histogram output

From: Martin Peschke <[email protected]>

Fix unit of request sizes as printed in histogram (it's bytes not kilobytes).

---
 blkiomon.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
blkiomon.h +2 -2
@@ -98,8 +98,8 @@ static inline void blkiomon_stat_print(F
 		(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