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

Commit 4e198eef authored by Devin Moore's avatar Devin Moore Committed by Automerger Merge Worker
Browse files

Merge "Dump /proc/bootconfig in dumpstate" am: adbac998

parents 56df2453 adbac998
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -814,6 +814,8 @@ void Dumpstate::PrintHeader() const {
    printf("Kernel: ");
    DumpFileToFd(STDOUT_FILENO, "", "/proc/version");
    printf("Command line: %s\n", strtok(cmdline_buf, "\n"));
    printf("Bootconfig: ");
    DumpFileToFd(STDOUT_FILENO, "", "/proc/bootconfig");
    printf("Uptime: ");
    RunCommandToFd(STDOUT_FILENO, "", {"uptime", "-p"},
                   CommandOptions::WithTimeout(1).Always().Build());