diff options
author | josephjang <josephjang@google.com> | 2019-04-16 18:46:24 +0800 |
---|---|---|
committer | josephjang <josephjang@google.com> | 2019-04-26 06:02:09 +0800 |
commit | aaddf282ecaedbe182a90d231b43ca8c68f03e23 (patch) | |
tree | 0919bc1d24bac78f13ec986a8151f99a03c98e0d /libunwindstack/tests/MemoryFileTest.cpp | |
parent | e7d0c83d3c5ca974d0fbdc61bf7fad8ccd5c1f83 (diff) |
init: Add reboot timeout handler
In order to prevent device stuck at reboot, we try to create shutdownt
monitor thread with a timeout (default 30s). It will dump init process
and blocked tasks call trace in last kmsg then trigger kernel panic to
reboot device.
Test: reboot device
bug: 128561401
Change-Id: Ieb400ab9fbd983544b61241a4f4b8aa2f4baa863
Diffstat (limited to 'libunwindstack/tests/MemoryFileTest.cpp')
0 files changed, 0 insertions, 0 deletions