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-06-11 08:59:21 -0700
commitd451a4712405b2ae4a25c293686b110af3412d4e (patch)
treebef53f50141afae9f3043ba55212696b7145521b /cmds/dumpstate/main.cpp
parente0fbd487f944ec82fdb6de74cdf7ce796eeea109 (diff)
arc: Implement smaller dumpstate output
Adds a -L commandline option to indicate a much smaller set of dumpstate output safe for feedback 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: I1d564b949d0a44ff9cc014302d79703294a13d78
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..ec89c0dd6e 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:svqzpLPBRSV:w")) != -1 && !do_wait) {
switch (c) {
case 'w':
do_wait = true;