summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/main.cpp
diff options
context:
space:
mode:
author mhasank <mhasank@google.com> 2020-05-26 18:02:39 -0700
committer mhasank <mhasank@google.com> 2020-05-29 13:16:18 -0700
commitf56bbb2bc0d65190bdb660ab359eb4697e928245 (patch)
tree8dfacb654d242048c9e4226f891073a8e5817168 /cmds/dumpstate/main.cpp
parenta9e0d8a9e348fa9c494cd38fe9a3c84d95c8ea83 (diff)
arc: Implement smaller dumpstate output
Adds a -A commandline option to indicate a much smaller set of dumpstate output safe for ARC++ bug reports. Implements output of system logcat, event logs, networking, and dropbox system server crash/system app crashes only. Bug: 142684959 Bug: 136273873 Test: atest dumpstate_test Change-Id: I192be7ed841cee0a8847e1057209ef2b164bab07
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 68d373377c..f1342a5b53 100644
--- a/cmds/dumpstate/main.cpp
+++ b/cmds/dumpstate/main.cpp
@@ -30,7 +30,7 @@ bool ShouldStartServiceAndWait(int argc, char* argv[]) {
bool do_wait = false;
int c;
// Keep flags in sync with Dumpstate::DumpOptions::Initialize.
- while ((c = getopt(argc, argv, "wdho:svqzpPBRSV:")) != -1 && !do_wait) {
+ while ((c = getopt(argc, argv, "dho:svqzpAPBRSV:w")) != -1 && !do_wait) {
switch (c) {
case 'w':
do_wait = true;