summaryrefslogtreecommitdiff
path: root/dumpstate
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2018-04-05 02:21:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2018-04-05 02:21:34 +0000
commitc675818825e8e2957bc74b909de36c1a70af0769 (patch)
tree0640b05bddf1e2935f9883959d2c1221f8152566 /dumpstate
parenta1201caf462b3cee980faf6fc082149e8e3c30c9 (diff)
parent198f39a8017efaab36fe4e9b4d2b2737bb470ab9 (diff)
downloadbonito-c675818825e8e2957bc74b909de36c1a70af0769.tar.gz
Merge changes I0cda188e,If23ad300 into pi-dev
* changes: dumpstate: report f2fs fragmentation info device.mk: add UFS FFU tool
Diffstat (limited to 'dumpstate')
-rwxr-xr-xdumpstate/DumpstateDevice.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/dumpstate/DumpstateDevice.cpp b/dumpstate/DumpstateDevice.cpp
index ea541773..b87f28ea 100755
--- a/dumpstate/DumpstateDevice.cpp
+++ b/dumpstate/DumpstateDevice.cpp
@@ -262,6 +262,7 @@ Return<void> DumpstateDevice::dumpstateBoard(const hidl_handle& handle) {
RunCommandToFd(fd, "UFS health", {"/vendor/bin/sh", "-c", ufs_health.c_str()});
}
DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status");
+ DumpFileToFd(fd, "F2FS - fragmentation", "/proc/fs/f2fs/sda21/segment_info");
DumpFileToFd(fd, "INTERRUPTS", "/proc/interrupts");
DumpFileToFd(fd, "Sleep Stats", "/sys/power/system_sleep/stats");
DumpFileToFd(fd, "Power Management Stats", "/sys/power/rpmh_stats/master_stats");