diff options
| author | 2019-01-09 18:54:35 -0800 | |
|---|---|---|
| committer | 2019-01-09 18:54:35 -0800 | |
| commit | 6a6fb17a27d3358e4a57c440c3b8b4719d813d5f (patch) | |
| tree | b1f8c4c8b02e8d1054b60b0676c38a6b885edf8c | |
| parent | 4612be5d25f814bccc7f824411bbe1893aa923ea (diff) | |
| parent | 999a4ba562d91e1ec30a17d41428302c13147abd (diff) | |
Merge "dumpstate: add HAL log for wifi-specific bug report" am: 6a525c4773
am: 999a4ba562
Change-Id: Ia62f5bdb605a4c705c64a4a9e9f1f7ae0df1cfef
| -rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 59a0047acf..70154e8db3 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1566,6 +1566,15 @@ static void DumpstateWifiOnly() { RunDumpsys("DUMPSYS", {"wifi"}, CommandOptions::WithTimeout(90).Build(), SEC_TO_MSEC(10)); + if (ds.IsZipping()) { + RunCommand("HARDWARE HALS", {"lshal", "-lVSietrpc", "--types=b,c,l,z"}, + CommandOptions::WithTimeout(2).AsRootIfAvailable().Build()); + DumpHals(); + } else { + RunCommand("HARDWARE HALS", {"lshal", "-lVSietrpc", "--types=b,c,l,z", "--debug"}, + CommandOptions::WithTimeout(10).AsRootIfAvailable().Build()); + } + printf("========================================================\n"); printf("== dumpstate: done (id %d)\n", ds.id_); printf("========================================================\n"); |