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

Commit 8d044461 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

Change-Id: I14fb9f2c9e8bcb4da75bd289e036d31cdf6827b7
parents 9f3089d5 21409a7a
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;
    }