bootstat: add more bootreasons
add more bootreasons for new design. Bug: 296637681 Test: trigger apc watchdog then "adb root; adb shell bootstat -p" Change-Id: Ia78146ba9299eea45e7d89376179e01cbd37cca8 Signed-off-by: Jason Chiu <jasoncschiu@google.com>
This commit is contained in:
parent
3ef4da2f6a
commit
d07ec30423
|
@ -461,6 +461,14 @@ const std::map<std::string, int32_t> kBootReasonMap = {
|
|||
{"reboot,smpl_timeout,pmic,main", 229},
|
||||
{"reboot,ota,.*", 230},
|
||||
{"reboot,periodic,.*", 231},
|
||||
{"reboot,early,abl", 232},
|
||||
{"reboot,early,bl2", 233},
|
||||
{"reboot,longkey,pmic_cold", 234},
|
||||
{"reboot,longkey,master_dc", 235},
|
||||
{"reboot,ocp2,pmic,if", 236},
|
||||
{"reboot,ocp,pmic,if", 237},
|
||||
{"reboot,fship", 238},
|
||||
{"reboot,ocp,.*", 239},
|
||||
};
|
||||
|
||||
// Converts a string value representing the reason the system booted to an
|
||||
|
|
Loading…
Reference in New Issue