diff options
author | Tobias Lindskog <tobias.lindskog@sonymobile.com> | 2015-02-03 11:45:58 +0100 |
---|---|---|
committer | Edward Savage-Jones <edward.savage-jones@sonymobile.com> | 2016-09-07 14:36:46 +0200 |
commit | 313177dccacaf5fefd2954d90c065e35e5b03253 (patch) | |
tree | 9b52b0ef7c89264dbcad977adeead2efa3f11812 /tools/aapt2/diff/Diff.cpp | |
parent | 9484bff017a5a919f31e3ee945430b86cc8c6609 (diff) |
Skip ANR for processes that have been killed
If a controller is attached and decides to kill a process after an ANR,
other ANR reports for that app that are queued up won't be handled until
after the app has died. This can create a report without the relevant
callstacks because the app is dead by the time the traces are dumped.
Since the trace file is global, the traces recorded for the first ANR
are overwritten, leaving us with no clue as to what happened.
After the app has been killedByAm, it is not interesting to handle ANRs
for that app until it is started again, so killedByAm can be used to
filter out these spurious reports.
Change-Id: I34ba790f6d29d563c819dc2f6ac71a3c8955bb76
Diffstat (limited to 'tools/aapt2/diff/Diff.cpp')
0 files changed, 0 insertions, 0 deletions