bootstat: Log even more boot reasons.
Bug: 27555866 Test: None Change-Id: I8ab6597a323f5973d8b1c22c2c7422ef0c2efcc3
This commit is contained in:
parent
603cae8b48
commit
8d7f63da26
1 changed files with 7 additions and 0 deletions
|
@ -169,6 +169,13 @@ const std::map<std::string, int32_t> kBootReasonMap = {
|
|||
{"wdog_bark", 42},
|
||||
{"wdog_bite", 43},
|
||||
{"wdog_reset", 44},
|
||||
{"shutdown,", 45}, // Trailing comma is intentional.
|
||||
{"shutdown,userrequested", 46},
|
||||
{"reboot,bootloader", 47},
|
||||
{"reboot,cold", 48},
|
||||
{"reboot,recovery", 49},
|
||||
{"thermal_shutdown", 50},
|
||||
{"s3_wakeup", 51}
|
||||
};
|
||||
|
||||
// Converts a string value representing the reason the system booted to an
|
||||
|
|
Loading…
Reference in a new issue