summaryrefslogtreecommitdiffstats
path: root/bootstat
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2017-11-29 14:30:06 -0800
committerJames Hawkins <jhawkins@google.com>2017-11-29 14:30:06 -0800
commit5f85f8354b89aa0a48ab74ad2d61f0088c03130e (patch)
treed800fc9dc39955008412469dcff7301c5fe7e1fd /bootstat
parentb6233894211f883972ac2a22245584336be6efdd (diff)
downloadsystem_core-5f85f8354b89aa0a48ab74ad2d61f0088c03130e.tar.gz
system_core-5f85f8354b89aa0a48ab74ad2d61f0088c03130e.tar.bz2
system_core-5f85f8354b89aa0a48ab74ad2d61f0088c03130e.zip
bootstat: Three more boot reasons.
Bug: none Test: none Change-Id: I37b6ed6ce73f403aa5f9db2c0234e9dc4c0f7c01
Diffstat (limited to 'bootstat')
-rw-r--r--bootstat/bootstat.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp
index 05474ef6b..63b36f40c 100644
--- a/bootstat/bootstat.cpp
+++ b/bootstat/bootstat.cpp
@@ -235,6 +235,9 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"abnormal_reset", 95},
{"oemerr_unknown", 96},
{"reboot_fastboot_mode", 97},
+ {"watchdog_apps_bite", 98},
+ {"xpu_err", 99},
+ {"power_on_usb", 100},
};
// Converts a string value representing the reason the system booted to an