Added additional log messages in enterMPIPL function
Added additional log message in entermpipl to help
debugging in multi processor configuration
Tested: verified journal logs.
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I39b1ab8d512a1cfe0362ae9b57b079a57059294f
diff --git a/procedures/common/enter_mpreboot.cpp b/procedures/common/enter_mpreboot.cpp
index ca41567..301bf7d 100644
--- a/procedures/common/enter_mpreboot.cpp
+++ b/procedures/common/enter_mpreboot.cpp
@@ -22,6 +22,7 @@
#include <libpdbg_sbe.h>
}
+#include <fmt/format.h>
#include <sys/wait.h>
#include <unistd.h>
@@ -50,6 +51,10 @@
throw std::system_error(error, std::generic_category(),
"Failed to initiate memory preserving reboot");
}
+
+ log<level::INFO>(
+ fmt::format("Enter MPIPL completed on proc({})", pdbg_target_index(tgt))
+ .c_str());
}
/**