Merge "bootstat: add more bootreasons" am: 23ff619088

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

Change-Id: I20a83032f86febcdd0f45a65d7c90f886721a355
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jason Chiu 2022-07-03 14:30:56 +00:00 committed by Automerger Merge Worker
commit 55493c6de3

View file

@ -463,6 +463,11 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"watchdog,gsa,hard", 215},
{"watchdog,gsa,soft", 216},
{"watchdog,pmucal", 217},
{"reboot,early,bl", 218},
{"watchdog,apc,gsa,crashed", 219},
{"watchdog,apc,bl31,crashed", 220},
{"watchdog,apc,pbl,crashed", 221},
{"reboot,memory_protect,hyp", 222},
};
// Converts a string value representing the reason the system booted to an