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

Commit d772f54a authored by Steven Moreland's avatar Steven Moreland Committed by Android (Google) Code Review
Browse files

Revert "dumpstate: use pretty uptime, now in ABT"

This reverts commit f8193123.

Reason for revert:

> For ABT, I think the change is OK since we just extract the next line and show it in the UI. But there are some other places which has the assumption on the uptime format.

Change-Id: Iade14b70fbda032f74fb40900a61c112afecdb58
parent f8193123
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1752,7 +1752,7 @@ Dumpstate::RunStatus Dumpstate::dumpstate() {
    // check intermittently (if it's intrerruptable like a foreach on pids) and/or should be wrapped
    // in a consent check (via RUN_SLOW_FUNCTION_WITH_CONSENT_CHECK).
    dump_dev_files("TRUSTY VERSION", "/sys/bus/platform/drivers/trusty", "trusty_version");
    RunCommand("UPTIME", {"uptime", "-p"});
    RunCommand("UPTIME", {"uptime"});
    DumpBlockStatFiles();
    DumpFile("MEMORY INFO", "/proc/meminfo");
    RunCommand("CPU INFO", {"top", "-b", "-n", "1", "-H", "-s", "6", "-o",