diff options
Diffstat (limited to 'src/usr/trace/daemon/daemon.C')
-rw-r--r-- | src/usr/trace/daemon/daemon.C | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/usr/trace/daemon/daemon.C b/src/usr/trace/daemon/daemon.C index a51048128..de438b2f4 100644 --- a/src/usr/trace/daemon/daemon.C +++ b/src/usr/trace/daemon/daemon.C @@ -6,6 +6,7 @@ /* OpenPOWER HostBoot Project */ /* */ /* Contributors Listed Below - COPYRIGHT 2012,2014 */ +/* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -45,6 +46,8 @@ #include <devicefw/userif.H> #include <mbox/mboxif.H> +#include <config.h> +#include <console/consoleif.H> namespace TRACE { @@ -129,6 +132,11 @@ namespace TRACEDAEMON pruneTraceEntries(); coalescePages(); +#ifdef CONFIG_CONSOLE_OUTPUT_TRACE + // Flush console. + CONSOLE::flush(); +#endif + msg->data[0] = msg->data[1] = 0; break; } |