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

Commit fd1e5b68 authored by Minchan Kim's avatar Minchan Kim Committed by android-build-merger
Browse files

Merge "dump psi stat into bugreport" am: 373c5df1 am: 21409a7a

am: 8d044461

Change-Id: I203344f730070265328e65deb8ebcbaa787e8684
parents d767b476 8d044461
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1560,6 +1560,10 @@ static Dumpstate::RunStatus DumpstateDefault() {
        RunCommand("Dmabuf dump", {"/product/bin/dmabuf_dump"});
    }

    DumpFile("PSI cpu", "/proc/pressure/cpu");
    DumpFile("PSI memory", "/proc/pressure/memory");
    DumpFile("PSI io", "/proc/pressure/io");

    if (!DropRootUser()) {
        return Dumpstate::RunStatus::ERROR;
    }