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

Commit 373c5df1 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "dump psi stat into bugreport"

parents 463b7bd2 22c6a1ef
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;
    }