diff options
author | Jason Chiu <jasoncschiu@google.com> | 2022-06-28 17:39:45 +0800 |
---|---|---|
committer | Jason Chiu <jasoncschiu@google.com> | 2022-06-28 13:21:03 +0000 |
commit | 09ab353773ba9e242c93ad4c379d9cf66832c145 (patch) | |
tree | 2d9464686a25a5905e49fc26c9147ae0019104fa | |
parent | 1ae6338dfaa77f6aae7fd77f77270537219f3ff7 (diff) | |
download | core-09ab353773ba9e242c93ad4c379d9cf66832c145.tar.gz |
bootstat: add more bootreasons
add more bootreasons for new projects
Bug: 219902794
Test: trigger apc watchdog then "adb root; adb shell bootstat -p"
Signed-off-by: Jason Chiu <jasoncschiu@google.com>
Merged-In: I7e19c4d48fb3d5b1c49dc8688936cf1d6eea6e9c
Change-Id: If90861e8460db8bb7125097e32315c18feb327da
-rw-r--r-- | bootstat/bootstat.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index 2c878f024..af0c89e9f 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -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 |