diff options
| author | 2019-08-15 03:04:36 +0000 | |
|---|---|---|
| committer | 2019-08-15 03:04:36 +0000 | |
| commit | 6f5b59a46af1c8b033b91bcc5e0a55a78c3479f5 (patch) | |
| tree | 149f271c7aa896e6eb6a67ff6cc6eae64bbd2117 | |
| parent | e0d8b7775215ab47504821e009447051aea49a9b (diff) | |
| parent | 20256d2b4d5def8c3201f8070a799a37134d8723 (diff) | |
Snap for 5803866 from 20256d2b4d5def8c3201f8070a799a37134d8723 to qt-qpr1-release
Change-Id: Id6d253b0eebaa75857e1c88db91031337892462d
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 4ac7b689cf..5de40776b9 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1594,6 +1594,8 @@ static Dumpstate::RunStatus DumpstateDefault() { static void DumpstateRadioCommon() { DumpIpTablesAsRoot(); + ds.AddDir(LOGPERSIST_DATA_DIR, false); + if (!DropRootUser()) { return; } @@ -1604,6 +1606,7 @@ static void DumpstateRadioCommon() { DoKmsg(); DumpIpAddrAndRules(); dump_route_tables(); + DumpHals(); RunDumpsys("NETWORK DIAGNOSTICS", {"connectivity", "--diag"}, CommandOptions::WithTimeout(10).Build()); @@ -1673,8 +1676,6 @@ static void DumpstateWifiOnly() { RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); - DumpHals(); - printf("========================================================\n"); printf("== dumpstate: done (id %d)\n", ds.id_); printf("========================================================\n"); |