diff options
| author | 2023-03-22 16:11:44 +0000 | |
|---|---|---|
| committer | 2023-03-22 16:11:44 +0000 | |
| commit | adbac998315f387d38ec4564a7c35b551ea90a08 (patch) | |
| tree | 46d24baade1b4617f7b10dc83cab5edd3356df12 | |
| parent | 7ac34d3210e42c81b8663a8b5e77820183cf88b6 (diff) | |
| parent | 09fde8df6f8223cbcb83c1b69821ae1e1c9887ca (diff) | |
Merge "Dump /proc/bootconfig in dumpstate"
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 4fb08c573f..d5b1b98291 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -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()); |