mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-02-01 11:27:36 +00:00
dump f2fs in gs-common
Bug: 248143736 Test: adb bugreport Change-Id: I25d95dcfc8ea906e7064c966be05cc98acc29819
This commit is contained in:
@@ -956,13 +956,6 @@ void Dumpstate::dumpMemorySection(int fd) {
|
||||
"done"});
|
||||
}
|
||||
|
||||
static void DumpF2FS(int fd) {
|
||||
DumpFileToFd(fd, "F2FS", "/sys/kernel/debug/f2fs/status");
|
||||
DumpFileToFd(fd, "F2FS", "/dev/fscklogs/fsck");
|
||||
RunCommandToFd(fd, "F2FS - fsck time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.fsck.data"});
|
||||
RunCommandToFd(fd, "F2FS - checkpoint=disable time (ms)", {"/vendor/bin/sh", "-c", "getprop ro.boottime.init.mount.data"});
|
||||
}
|
||||
|
||||
static void DumpUFS(int fd) {
|
||||
DumpFileToFd(fd, "UFS model", "/sys/block/sda/device/model");
|
||||
DumpFileToFd(fd, "UFS rev", "/sys/block/sda/device/rev");
|
||||
@@ -1016,7 +1009,6 @@ static void DumpUFS(int fd) {
|
||||
|
||||
// Dump items related to storage
|
||||
void Dumpstate::dumpStorageSection(int fd) {
|
||||
DumpF2FS(fd);
|
||||
DumpUFS(fd);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user