summaryrefslogtreecommitdiffstats
path: root/bootstat
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2017-11-30 15:01:40 -0800
committerJames Hawkins <jhawkins@google.com>2017-11-30 15:01:40 -0800
commitf4444f058cf5d7be22199398f47837664118f924 (patch)
tree89827cd9c809e31dee5b87a131d65feea57e317a /bootstat
parentf106bb6bb822740ea35b5974c2f137ef0a662648 (diff)
downloadsystem_core-f4444f058cf5d7be22199398f47837664118f924.tar.gz
system_core-f4444f058cf5d7be22199398f47837664118f924.tar.bz2
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 = {
{"watchdog_apps_bite", 98},
{"xpu_err", 99},
{"power_on_usb", 100},
+ {"watchdog_rpm", 101},
+ {"watchdog_nonsec", 102},
+ {"watchdog_apps_bark", 103},
+ {"reboot_dmverity_corrupted", 104},
};
// Converts a string value representing the reason the system booted to an