Commit 8c5b9bf0 authored by Rajkumar Raghupathy's avatar Rajkumar Raghupathy Committed by Bryan Huntsman
Browse files

USB: f_mass_storage: Add support for performance recording



This patch adds support for populating the read/write performance values
for debugging the Mass storage performance numbers at VFS level.

To check the read/write values, user needs to invoke below command

cat /sys/devices/platform/usb_mass_storage/lunX/perf

To reset the read/write values to zero

echo 0 > /sys/devices/platform/usb_mass_storage/lunX/perf

Signed-off-by: default avatarChiranjeevi Velempati <cvelempa@codeaurora.org>
Signed-off-by: default avatarRajkumar Raghupathy <raghup@codeaurora.org>

Conflicts:

	drivers/usb/gadget/Kconfig
parent ddeb52a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment