From e862c4c5a9e0385fac01827f2d7d4c6cc402caf3 Mon Sep 17 00:00:00 2001 From: Andrew Jeffery Date: Thu, 4 Oct 2018 10:17:09 +0930 Subject: initservice: Flush trace buffers before shutdown syscall Change-Id: I33ee94cf691d075587537130e55c2dc7c237045b Signed-off-by: Andrew Jeffery Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67074 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: FSP CI Jenkins Reviewed-by: Corey V. Swenson Tested-by: Jenkins OP HW Reviewed-by: Daniel M. Crowell --- src/usr/initservice/baseinitsvc/initservice.C | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/usr/initservice') diff --git a/src/usr/initservice/baseinitsvc/initservice.C b/src/usr/initservice/baseinitsvc/initservice.C index 3e89d3196..8b718716e 100644 --- a/src/usr/initservice/baseinitsvc/initservice.C +++ b/src/usr/initservice/baseinitsvc/initservice.C @@ -965,6 +965,9 @@ void InitService::_doShutdown(uint64_t i_status, i_error_info, true); // Force write + // Ensure all traces get flushed to the console + TRAC_FLUSH_BUFFERS(); + shutdown(iv_worst_status, i_payload_base, i_payload_entry, -- cgit v1.2.1