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

Commit 55493c6d authored by Jason Chiu's avatar Jason Chiu Committed by Automerger Merge Worker
Browse files

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

parents dcb486fb 23ff6190
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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