Merge "bootstat: add more bootreasons"

This commit is contained in:
Treehugger Robot 2022-07-14 17:27:29 +00:00 committed by Gerrit Code Review
commit 2b0c119bff

View file

@ -468,6 +468,13 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"watchdog,apc,bl31,crashed", 220},
{"watchdog,apc,pbl,crashed", 221},
{"reboot,memory_protect,hyp", 222},
{"reboot,tsd,pmic,main", 223},
{"reboot,tsd,pmic,sub", 224},
{"reboot,ocp,pmic,main", 225},
{"reboot,ocp,pmic,sub", 226},
{"reboot,sys_ldo_ok,pmic,main", 227},
{"reboot,sys_ldo_ok,pmic,sub", 228},
{"reboot,smpl_timeout,pmic,main", 229},
};
// Converts a string value representing the reason the system booted to an