diff options
author | Mark Salyzyn <salyzyn@google.com> | 2018-03-16 11:00:26 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2018-06-04 08:32:23 -0700 |
commit | 186f67625c70478f1c04b99cea2f700a453a4d0e (patch) | |
tree | dd254938b467288c9d3bb80dd02b9d582d2bb9fa /libutils/ProcessCallStack.cpp | |
parent | 15199251498fbbdca0550493b36a8d511229db19 (diff) |
bootstat: refine boot reasons
Received some clarity as to some of the boot reasons.
List of boot reasons and new translations to Canonical boot reason:
- "power_key" -> "cold,powerkey" (existing)
- "usb" -> "cold,charger" (existing)
- "rtc" -> "cold,rtc" (existing)
- "wdt" -> "reboot" (changed)
- "wdt_by_pass_pwk" -> "warm" (changed)
- "tool_by_pass_pwd" -> "reboot,tool" (changed)
- "2sec_reboot" -> "cold,rtc,2sec" (changed)
- "unknown" -> "reboot,unknown" (existing)
- "kernel_panic" (existing)
- "reboot" (existing)
- "watchdog" (existing)
Add the new string to enums for the new Boot Reason.
Test: boot_reason_test.sh (on affected device)
Bug: 74595769
Bug: 63736262
Change-Id: Iecedc3b1f7c47f26d0c77b1f316f745c6d2c1256
Diffstat (limited to 'libutils/ProcessCallStack.cpp')
0 files changed, 0 insertions, 0 deletions