Android: MMC/UFS IO Latency Histograms.
authorMohan Srinivasan <srmohan@google.com>
Fri, 26 Aug 2016 01:31:01 +0000 (18:31 -0700)
committerAmit Pundir <amit.pundir@linaro.org>
Wed, 14 Sep 2016 09:13:34 +0000 (14:43 +0530)
commit8e4b2f84a8926e0b49cfbcd14dd8e58b5af84791
tree5906626d443ad56aa6a2cfdb73aedd6af08d5b6b
parent10bd621d383631bbbe10aeca21f95e764603f294
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. This commit fixes the 32 bit
build breakage in the previous commit. Tested on both 32 bit
and 64 bit arm devices.

Bug: 30677035
Change-Id: I9a615a16616d80f87e75676ac4d078a5c429dcf9
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