commit | cf038cfb43187cadf4114f0ff1b886ecb78ee26a | [log] [tgz] |
---|---|---|
author | Bryan Yu <yuholong@google.com> | Wed May 08 09:25:25 2024 +0000 |
committer | Bryan Yu <yuholong@google.com> | Wed May 29 15:10:16 2024 +0000 |
tree | 4e0704f2a5d4c42668bbceaa1803d67ad0b6be15 | |
parent | e3f60f7b7c92e54b1c92cbff158a9c045757f899 [diff] [blame] |
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
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 6b9a0a0..1f5da39 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp
@@ -1569,6 +1569,7 @@ printf("== ANR Traces\n"); printf("========================================================\n"); + ds.anr_data_ = GetDumpFds(ANR_DIR, ANR_FILE_PREFIX); AddAnrTraceFiles(); printf("========================================================\n");