Add SystemSuspend HAL to ANR list.
Makes SystemSuspend native stack traces available in ANR dumps and adb bugreport. Bug: 135458700 Test: adb shell am hang; check /data/anr/<anr file> for android.system.suspend stack traces. Test: adb shell am hang, adb bugreport, grep through bug report for suspend stack traces. (grep -rn "Cmd line: /system/bin/hw/android.system.suspend@1.0-service") Test: Confirmed that deadlock on suspend/resume path triggers ANR dump. Simulated deadlock by adding sleep to suspend thread. Unplug the device lock the screen and wait for suspend to trigger. Check anr dump and bugreport for stack traces. Test: Confirmed traces are also available on user builds via adb bugreport. (adb bugreport pulls data from ANR dump files). Merged-In: I6be189f11193f12351fcf07c6583dce3402de28d Merged-In: Id274afd4e3fbe2288ef6d5f6566c2601b8fc0a50 Merged-In: Icfc67c544e8d3fe3ef59ac12801c1a82c5545935 Change-Id: Ia9cb991894e2e0558144936ecee5e95def405e71
Loading
Please register or sign in to comment