Skip to content

Commit

Permalink
initservice: Flush trace buffers before shutdown syscall
Browse files Browse the repository at this point in the history
Change-Id: I33ee94cf691d075587537130e55c2dc7c237045b
Signed-off-by: Andrew Jeffery <andrewrj@au1.ibm.com>
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/67074
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
  • Loading branch information
Andrew Jeffery authored and dcrowell77 committed Oct 8, 2018
1 parent 7caab94 commit e862c4c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/usr/initservice/baseinitsvc/initservice.C
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e862c4c

Please sign in to comment.