Merge "bootstat: add more bootreasons" into main am: b28db2a923

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2786439

Change-Id: I142758be2cfc14498129b0fe64fea4d933851273
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jason Chiu 2023-10-23 02:57:38 +00:00 committed by Automerger Merge Worker
commit 3759d342d5

View file

@ -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