Merge "add clear log for reboot start / end" am: 6e6eb48e71 am: c13d89246d
am: 860438cb12

Change-Id: I207bf842b066de61b87f9b6c8555944be30d278b
diff --git a/init/reboot.cpp b/init/reboot.cpp
index 3e2d61e..1e538c5 100644
--- a/init/reboot.cpp
+++ b/init/reboot.cpp
@@ -182,6 +182,7 @@
 
 static void __attribute__((noreturn))
 RebootSystem(unsigned int cmd, const std::string& rebootTarget) {
+    LOG(INFO) << "Reboot ending, jumping to kernel";
     switch (cmd) {
         case ANDROID_RB_POWEROFF:
             reboot(RB_POWER_OFF);
@@ -320,6 +321,7 @@
 void DoReboot(unsigned int cmd, const std::string& reason, const std::string& rebootTarget,
               bool runFsck) {
     Timer t;
+    LOG(INFO) << "Reboot start, reason: " << reason << ", rebootTarget: " << rebootTarget;
     std::string timeout = property_get("ro.build.shutdown_timeout");
     unsigned int delay = 0;