Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aceb9745 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "bootstat: add more bootreasons" am: 2b0c119b am: 5c4ea3dc am:...

Merge "bootstat: add more bootreasons" am: 2b0c119b am: 5c4ea3dc am: 832e91d9 am: 8108aad2 am: 65eae65a

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



Change-Id: Id0f275ea01663628baa728b0c4b9ff66a37ae4de
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1c9cdac0 65eae65a
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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