summaryrefslogtreecommitdiffstats
path: root/src/usr/initservice/baseinitsvc/initservice.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/initservice/baseinitsvc/initservice.C')
-rw-r--r--src/usr/initservice/baseinitsvc/initservice.C7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/usr/initservice/baseinitsvc/initservice.C b/src/usr/initservice/baseinitsvc/initservice.C
index 2b1db6b35..3a437b933 100644
--- a/src/usr/initservice/baseinitsvc/initservice.C
+++ b/src/usr/initservice/baseinitsvc/initservice.C
@@ -47,6 +47,7 @@
#include <errl/errludstring.H>
+#include <errl/errludprintk.H>
#include <initservice/taskargs.H> // TASK_ENTRY_MACRO
@@ -262,6 +263,9 @@ errlHndl_t InitService::startTask(
INITSERVICE::WAIT_TASK_FAILED,
l_tidretrc, l_childsts, hbSwError);
+ // Add Printk Buffer for FFDC.
+ ERRORLOG::ErrlUserDetailsPrintk().addToLog(l_errl);
+
// If the task crashed, then the l_childerrl is either NULL or
// contains an RC indicating that the issue causing the child
// to crash has already been reported. Therefore, reduce the
@@ -390,6 +394,9 @@ errlHndl_t InitService::executeFn(
INITSERVICE::WAIT_FN_FAILED,
l_tidretrc, l_childsts, hbSwError);
+ // Add Printk Buffer for FFDC.
+ ERRORLOG::ErrlUserDetailsPrintk().addToLog(l_errl);
+
// If the task crashed, then the l_childerrl is either NULL or
// contains an RC indicating that the issue causing the child
// to crash has already been reported. Therefore, reduce the
OpenPOWER on IntegriCloud