diff options
author | 2024-05-08 09:25:25 +0000 | |
---|---|---|
committer | 2024-05-29 15:10:16 +0000 | |
commit | cf038cfb43187cadf4114f0ff1b886ecb78ee26a (patch) | |
tree | 4e0704f2a5d4c42668bbceaa1803d67ad0b6be15 | |
parent | e3f60f7b7c92e54b1c92cbff158a9c045757f899 (diff) |
Initiate anr_data_ for dumpstate limited only mode
When running in LimitedOnly mode, `anr_data_` was empty. Hence no ANR
traces were uploaded in the feedback reports.
Test reports uploaded:
http://listnr/product/208/report/91736461072
http://listnr/product/208/report/91736451197
Bug: 298145042
Test: Submit test reports to Listnr and verify the VM TRACES AT LAST ANR
session exist
Change-Id: I53981a73bfdb15e76007eb81567fe0fb5d00ee02
-rw-r--r-- | cmds/dumpstate/dumpstate.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 6b9a0a0e7e..1f5da39528 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp @@ -1569,6 +1569,7 @@ static void DumpstateLimitedOnly() { printf("== ANR Traces\n"); printf("========================================================\n"); + ds.anr_data_ = GetDumpFds(ANR_DIR, ANR_FILE_PREFIX); AddAnrTraceFiles(); printf("========================================================\n"); |