Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e95146f5 authored by Azhar Shaikh's avatar Azhar Shaikh
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/class/android_usb/f_mass_storage/lun/perf
To reset the read/write values to zero
echo 0 > /sys/class/android_usb/f_mass_storage/lun/perf

Change-Id: Ied51969ce144a2335d2140259e28e8acbda44635
Signed-off-by: default avatarChiranjeevi Velempati <cvelempa@codeaurora.org>
Signed-off-by: default avatarRajkumar Raghupathy <raghup@codeaurora.org>
Signed-off-by: default avatarAzhar Shaikh <azhars@codeaurora.org>
parent a5f9d251
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment