From 274b5447fa69e4209f548de9def1c519fd607cd7 Mon Sep 17 00:00:00 2001 From: Mark Salyzyn Date: Tue, 7 Aug 2018 08:45:13 -0700 Subject: [PATCH] bootstat: duplicate boot reason entries Selected visually obvious non-compliant boot reasons to allow for future re-use of a later formerly duplicated entry. Test: compile Bug: 112157996 Change-Id: I3c6b449d36f9e4b745214dd7840b1dc1258bf483 --- bootstat/bootstat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bootstat/bootstat.cpp b/bootstat/bootstat.cpp index d909ec64c..c17e00ffe 100644 --- a/bootstat/bootstat.cpp +++ b/bootstat/bootstat.cpp @@ -186,7 +186,7 @@ const std::map kBootReasonMap = { {"wdog_bark", 42}, {"wdog_bite", 43}, {"wdog_reset", 44}, - {"shutdown,", 45}, // Trailing comma is intentional. + {"shutdown,", 45}, // Trailing comma is intentional. Do NOT use. {"shutdown,userrequested", 46}, {"reboot,bootloader", 47}, {"reboot,cold", 48}, @@ -262,8 +262,8 @@ const std::map kBootReasonMap = { {"oem_rpm_undef_error", 116}, {"oem_crash_on_the_lk", 117}, {"oem_rpm_reset", 118}, - {"oem_lpass_cfg", 119}, - {"oem_xpu_ns_error", 120}, + {"REUSE1", 119}, // Former dupe, can be re-used + {"REUSE2", 120}, // Former dupe, can be re-used {"factory_cable", 121}, {"oem_ar6320_failed_to_powerup", 122}, {"watchdog_rpm_bite", 123},