summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Hawkins2017-11-30 17:01:40 -0600
committerJames Hawkins2017-11-30 17:01:40 -0600
commitf4444f058cf5d7be22199398f47837664118f924 (patch)
tree89827cd9c809e31dee5b87a131d65feea57e317a /bootstat
parentf106bb6bb822740ea35b5974c2f137ef0a662648 (diff)
downloadplatform-system-core-f4444f058cf5d7be22199398f47837664118f924.tar.gz
platform-system-core-f4444f058cf5d7be22199398f47837664118f924.tar.xz
platform-system-core-f4444f058cf5d7be22199398f47837664118f924.zip
bootstat: Add four more boot reasons.
Bug: none Test: none Change-Id: Ifd62e3a8bb6142e89fcde819eab1caba3d7933b7
Diffstat (limited to 'bootstat')
-rw-r--r--bootstat/bootstat.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp
index 63b36f40c..d9185d904 100644
--- a/bootstat/bootstat.cpp
+++ b/bootstat/bootstat.cpp
@@ -238,6 +238,10 @@ const std::map<std::string, int32_t> kBootReasonMap = {
238 {"watchdog_apps_bite", 98}, 238 {"watchdog_apps_bite", 98},
239 {"xpu_err", 99}, 239 {"xpu_err", 99},
240 {"power_on_usb", 100}, 240 {"power_on_usb", 100},
241 {"watchdog_rpm", 101},
242 {"watchdog_nonsec", 102},
243 {"watchdog_apps_bark", 103},
244 {"reboot_dmverity_corrupted", 104},
241}; 245};
242 246
243// Converts a string value representing the reason the system booted to an 247// Converts a string value representing the reason the system booted to an