commit | 1333c61d86e056a2d9babc300daf759416b77991 | [log] [tgz] |
---|---|---|
author | josephjang <josephjang@google.com> | Tue Apr 16 18:46:24 2019 +0800 |
committer | josephjang <josephjang@google.com> | Fri Apr 26 06:02:09 2019 +0800 |
tree | 0919bc1d24bac78f13ec986a8151f99a03c98e0d | |
parent | 1d4aa7fcce09991834e7fd20b5ef306796ea1fea [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