summaryrefslogtreecommitdiffstats
path: root/bootstat
diff options
context:
space:
mode:
authorJames Hawkins <jhawkins@google.com>2018-01-05 14:42:55 -0800
committerJames Hawkins <jhawkins@google.com>2018-01-05 14:42:55 -0800
commitb607daec9443990cab2c4f47df04d949c0c2793d (patch)
treee5a47a036a2bf7ea7c6174852a43f9a05511fabc /bootstat
parentdf9fbc7d75ba4148c4849924bf945fd44f01abb3 (diff)
downloadsystem_core-b607daec9443990cab2c4f47df04d949c0c2793d.tar.gz
system_core-b607daec9443990cab2c4f47df04d949c0c2793d.tar.bz2
system_core-b607daec9443990cab2c4f47df04d949c0c2793d.zip
bootstat: Add more boot reasons.
These appear to be winding down... Bug: none Test: none Change-Id: I00bc84d8e50b1563f97f812f722aa6bdbd6265b2
Diffstat (limited to 'bootstat')
-rw-r--r--bootstat/bootstat.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp
index b19ab781f..6b1d20682 100644
--- a/bootstat/bootstat.cpp
+++ b/bootstat/bootstat.cpp
@@ -272,6 +272,15 @@ const std::map<std::string, int32_t> kBootReasonMap = {
{"reboot_rtc", 132},
{"cold_boot", 133},
{"hard_rst", 134},
+ {"power-on", 135},
+ {"oem_adsp_resetting_the_soc", 136},
+ {"kpdpwr", 137},
+ {"oem_modem_timeout_waiting", 138},
+ {"usb_chg", 139},
+ {"warm_reset_0x02", 140},
+ {"warm_reset_0x80", 141},
+ {"pon_reason_0xb0", 142},
+ {"reboot_download", 143},
};
// Converts a string value representing the reason the system booted to an