[Patch 2/6] blkiomon: fix unit in histogram output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Martin Peschke <mpeschke@xxxxxxxxxxxxxxxxxx>

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

Signed-off-by: Martin Peschke <mpeschke@xxxxxxxxxxxxxxxxxx>

---
 blkiomon.h |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/blkiomon.h
+++ b/blkiomon.h
@@ -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


--
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux