summaryrefslogtreecommitdiff
path: root/libs/dumputils/include
AgeCommit message (Collapse)Author
2023-04-07Skip dumping backtraces for cached processes Kevin Jeon
This change updates dumpstate to skip dumping backtraces for cached processes. These processes are less likely to be causing bugreport-necessitating issues, and if they are frozen, will cause backtrace dumps to time out anyways. This results in a ~50% decrease (21.327s -> 10.568s) in the time taken to run DUMP TRACES. Test: On a local device, check with bugreportz that there are no more timed-out backtrace dumps (i.e. that the "Dump failed, likely due to a timeout" failure no longer occurs). Test: Run health/bugreport/capturebugreport on an internal build and verify that the DUMP TRACES section is much shorter. Bug: 276451949 Change-Id: Iecb6c2168a0dccefecf3b92be24c647eaf729556
2022-06-16Add AIDL HAL stack traces to bug-reports Jayant Chowdhary
Bug: 233130219 Test: adb bugreport; check that camera provider has stack traces in VM traces Ignore-AOSP-First: I will cherry-pick after the topic is submitted. Merged-In: I1e087600ac764191a91eb9b1f11e51f21bce19e3 Change-Id: I1e087600ac764191a91eb9b1f11e51f21bce19e3 Signed-off-by: Jayant Chowdhary <jchowdhary@google.com> (cherry picked from commit ddd3da0d8f092a24d2a8a9a1e211d60292b7da35)
2018-03-07Creating dumputils library. Kweku Adams
This moves methods and variables needed for stack trace dumps to a separate library so that incidentd can also get dumps without duplicating too much code. Bug: 72177715 Test: flash device and collect a regular bug report Change-Id: I68f367c32cbcac99f43305f73bb504ba7a1e4437