summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorZimuzo <zezeozue@google.com>2019-04-27 20:26:05 +0100
committerElliott Hughes <enh@google.com>2019-05-01 00:37:28 +0000
commit80cc912e7aa8c523bcf339b3ddd8e66f1849f3cc (patch)
tree347ec8fdb10b72149bc9234f5bc0eea775517177 /trusty/coverage/coverage.cpp
parent4b7e7d7a6b288fc7af5aba83b5eca2111b1cf0d4 (diff)
Attempt native rollback for frequent crashes before boot completed
Before, if updatable processes crash 4 times in 4mins, a native rollback will be attempted. This behavior does not detect system_server early boot deadlocks because the system server requires at least a min to detect a deadlock, and crash itself. The crashes don't happen frequently enough for init to detect. After, this cl, the old behavior exists and additionally, init detects *any* 4 crashes of updatable processes before boot completed, regardless of if they happen within 4mins or not. Test: Manually tested by adding artificial sleep in system_server so deadlock is triggered before boot. system_server crashes 4 times in over 4mins and the ro.init.updatable_crashing prop is set to 1. Bug: 129597207 Merged-In: Ie6fb5693ff4be105bcbe139c22850fb076e40260 Change-Id: Ie6fb5693ff4be105bcbe139c22850fb076e40260
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions