summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/main.cpp
diff options
context:
space:
mode:
author Kean Mariotti <keanmariotti@google.com> 2022-09-05 16:30:47 +0000
committer Kean Mariotti <keanmariotti@google.com> 2022-10-04 09:50:36 +0000
commit306633e5896bcb3170c1a84471f34d1aa9c035e9 (patch)
tree9f23cde9ed337440dcd83eec6d9dd7ced5135386 /cmds/dumpstate/main.cpp
parenteebf7c3ba2c969ba53cee6af6619112f10e2fefd (diff)
Add bugreport pre-dump functionality
Allow apps to trigger the dump of certain critical data, e.g. data stored in short ring buffers that might get lost by the time a bugreport is requested. Then, a bugreport request can specify whether the pre-dumped data should be used. Fixes: 205138504 Test: atest com.android.os.bugreports.tests.BugreportManagerTest Ignore-AOSP-First: depends on changes (surfaceflinger) that cannot go into AOSP Change-Id: I976f2ed3189e83f5bd71dc81e20306527c411d10
Diffstat (limited to 'cmds/dumpstate/main.cpp')
-rw-r--r--cmds/dumpstate/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmds/dumpstate/main.cpp b/cmds/dumpstate/main.cpp
index ec89c0dd6e..a634f9371f 100644
--- a/cmds/dumpstate/main.cpp
+++ b/cmds/dumpstate/main.cpp
@@ -56,7 +56,7 @@ int main(int argc, char* argv[]) {
MYLOGE("Unable to start 'dumpstate' service: %d", ret);
exit(1);
}
- MYLOGI("'dumpstate' service started and will wait for a call to startBugreport()");
+ MYLOGI("'dumpstate' service started and will wait for a call");
// Waits forever for an incoming connection.
// TODO(b/111441001): should this time out?