Watchdog: break timeout loop via system fatal crash
Request system fatal crash via SysRq when a watchdog timeout loop is detected. This escapes automatically the device hanging symptom and also preserves context of system server in memory snapshot. More details and background: go/break-sys-watchdog-loop Bug: 141948707 Test: Insert 'sleep_forever()' to block BinderThreadMonitor to reproduce watchdog timeout. Change-Id: I3ae4b33b0d7811764c61663ac3718311b55fd048
Showing
- core/sysprop/Android.bp 8 additions, 0 deletionscore/sysprop/Android.bp
- core/sysprop/WatchdogProperties.sysprop 45 additions, 0 deletionscore/sysprop/WatchdogProperties.sysprop
- core/sysprop/api/com.android.sysprop.watchdog-current.txt 20 additions, 0 deletionscore/sysprop/api/com.android.sysprop.watchdog-current.txt
- core/sysprop/api/com.android.sysprop.watchdog-latest.txt 20 additions, 0 deletionscore/sysprop/api/com.android.sysprop.watchdog-latest.txt
- services/core/Android.bp 1 addition, 0 deletionsservices/core/Android.bp
- services/core/java/com/android/server/Watchdog.java 121 additions, 0 deletionsservices/core/java/com/android/server/Watchdog.java
core/sysprop/WatchdogProperties.sysprop
0 → 100644
Please register or sign in to comment