Android: MMC/UFS IO Latency Histograms.
authorMohan Srinivasan <srmohan@google.com>
Tue, 16 Aug 2016 22:51:34 +0000 (15:51 -0700)
committerMohan Srinivasan <srmohan@google.com>
Wed, 24 Aug 2016 19:09:22 +0000 (19:09 +0000)
commit8d525c512280bb7d8218fd59c04de985b1886eca
treea0981976cac0d05e1352e36fb445994f6663d755
parent50acf9e6e34a14148d6a8c715c79b1cb013f4f3d
Android: MMC/UFS IO Latency Histograms.

This patch adds a new sysfs node (latency_hist) and reports IO
(svc time) latency histograms. Disabled by default, can be enabled
by echoing 0 into latency_hist, stats can be cleared by writing 2
into latency_hist.

Bug: 30677035
Change-Id: I625938135ea33e6e87cf6af1fc7edc136d8b4b32
Signed-off-by: Mohan Srinivasan <srmohan@google.com>
block/blk-core.c
drivers/mmc/core/core.c
drivers/mmc/core/host.c
drivers/mmc/core/host.h
drivers/scsi/ufs/ufshcd.c
drivers/scsi/ufs/ufshcd.h
include/linux/blkdev.h
include/linux/mmc/core.h
include/linux/mmc/host.h