summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorWoody Lin <woodylin@google.com>2019-12-26 22:22:28 +0800
committerWoody Lin <woodylin@google.com>2020-10-26 11:38:01 +0800
commit45215ae6e5742d9dff5468d744a02013e3efbef7 (patch)
treeea9154cc17b51d7695e2f5c6f86828ee0fe92beb /trusty/coverage/coverage.cpp
parent45662c8941df873d4d6e50f189129d5bcbf365e9 (diff)
init/service_parser: Add arguments `window' and `target' for `critical'
The critical services can now using the interface `critical [window=<fatal crash window mins>] [target=<fatal reboot target>]` to setup the timing window that when there are more than 4 crashes in it, the init will regard it as a fatal system error and reboot the system. Config `window=${zygote.critical_window.minute:-off}' and `target=zygote-fatal' for all system-server services, so platform that configures ro.boot.zygote_critical_window can escape the system-server crash-loop via init fatal handler. Bug: 146818493 Change-Id: Ib2dc253616be6935ab9ab52184a1b6394665e813
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions