Merge "bootstat: Adds additional reboot reason patterns" am: c6ec101713 am: 61353c95d4

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

Change-Id: Ib87428db7e35f07efa52386123dea3dbf52137aa
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
David Anderson 2023-05-16 04:14:00 +00:00 committed by Automerger Merge Worker
commit da41d6abae

View file

@ -459,6 +459,8 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"reboot,sys_ldo_ok,pmic,main", 227},
{"reboot,sys_ldo_ok,pmic,sub", 228},
{"reboot,smpl_timeout,pmic,main", 229},
{"reboot,ota,.*", 230},
{"reboot,periodic,.*", 231},
};
// Converts a string value representing the reason the system booted to an