bootstat: add 4 reboot reasons to known set

- reboot,rtc
- reboot,dm-verity_device_corrupted
- reboot,dm-verity_enforcing
- reboot,keys_clear

Test: none
Bug: 128929506
Bug: 128929604
Change-Id: I5438c236abb67b74c7b9d717930c0ea69f70540d
Signed-off-by: Jone Chou <jonechou@google.com>
This commit is contained in:
Jone Chou 2019-03-20 19:38:05 +08:00 committed by Oleg Matcovschi
parent 4dd15cbe24
commit d51036d641
1 changed files with 4 additions and 0 deletions

View File

@ -295,6 +295,10 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"kernel_panic,_sde_encoder_phys_cmd_handle_ppdone_timeout", 168},
{"recovery,quiescent", 169},
{"reboot,quiescent", 170},
{"reboot,rtc", 171},
{"reboot,dm-verity_device_corrupted", 172},
{"reboot,dm-verity_enforcing", 173},
{"reboot,keys_clear", 174},
};
// Converts a string value representing the reason the system booted to an