summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/dumpstate.cpp
diff options
context:
space:
mode:
author Adrian Roos <roosa@google.com> 2017-04-04 16:35:44 -0700
committer Adrian Roos <roosa@google.com> 2017-04-05 17:27:09 +0000
commit8b397ab3d6ad2ff23897b3743fe51325e15ffaf6 (patch)
treeccf2d9d3ba6127ac87c45f4e898e23801cbab71f /cmds/dumpstate/dumpstate.cpp
parent0e7305cb0ab3787cd4767aa3c57d6842ac351663 (diff)
dumpstate: add dropbox crashes to bugreport
Adds system crashes from the dropbox to the end of the bugreport to allow diagnosing issues even after the device has rebooted. Test: adb bugreport Bug: 36852229 Bug: 26849505 Change-Id: I11589b81208e916d25d543c43c1283bdbffda949
Diffstat (limited to 'cmds/dumpstate/dumpstate.cpp')
-rw-r--r--cmds/dumpstate/dumpstate.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index cba8f36cc9..aa03709d41 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1147,6 +1147,13 @@ static void dumpstate() {
RunDumpsys("APP PROVIDERS", {"activity", "provider", "all"});
+ printf("========================================================\n");
+ printf("== Dropbox crashes\n");
+ printf("========================================================\n");
+
+ RunDumpsys("DROPBOX SYSTEM SERVER CRASHES", {"dropbox", "-p", "system_server_crash"});
+ RunDumpsys("DROPBOX SYSTEM APP CRASHES", {"dropbox", "-p", "system_app_crash"});
+
// DumpModemLogs adds the modem logs if available to the bugreport.
// Do this at the end to allow for sufficient time for the modem logs to be
// collected.