Dumpstate: get fsck log
Bug: 241641121 Signed-off-by: Jaegeuk Kim <jaegeuk@google.com> Change-Id: Iaadb166fe9194518b2db75080cddc02526bdf2bb
This commit is contained in:
parent
0524f3112d
commit
2779a1b9b4
1 changed files with 1 additions and 0 deletions
|
@ -889,6 +889,7 @@ void DumpstateDevice::dumpMemorySection(int fd) {
|
|||
|
||||
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"});
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue