commit | ba1e0c94b0af2388707ad6feea7ddd0f9184cd6d | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <pcc@google.com> | Fri Mar 10 23:45:01 2023 +0000 |
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | Fri Mar 10 23:45:01 2023 +0000 |
tree | 8e05a0bb52323257c4e3936c669df3b12467f017 | |
parent | b57ed44275ad1ab9bb7b4a06b81e7091d7a07654 [diff] | |
parent | 75acf7f7903a0717807ba383bbeb373971f6cf0b [diff] |
Merge "Add some /proc files to bug reports." am: 53c14aa1d9 am: 75acf7f790 Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2439353 Change-Id: Id21c6f767638db7c494c4696a94f460a6e2efdc4 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 47a513b..7856b51 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp
@@ -1895,6 +1895,9 @@ } ds.AddDir(PREREBOOT_DATA_DIR, false); add_mountinfo(); + for (const char* path : {"/proc/cpuinfo", "/proc/meminfo"}) { + ds.AddZipEntry(ZIP_ROOT_DIR + path, path); + } DumpIpTablesAsRoot(); DumpDynamicPartitionInfo(); ds.AddDir(OTA_METADATA_DIR, true);