diff options
author | 2020-05-26 18:02:39 -0700 | |
---|---|---|
committer | 2020-05-29 13:16:18 -0700 | |
commit | f56bbb2bc0d65190bdb660ab359eb4697e928245 (patch) | |
tree | 8dfacb654d242048c9e4226f891073a8e5817168 /cmds/dumpstate/main.cpp | |
parent | a9e0d8a9e348fa9c494cd38fe9a3c84d95c8ea83 (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.cpp | 2 |
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; |