summaryrefslogtreecommitdiffstats
path: root/src/usr/trace/interface.C
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/trace/interface.C')
-rw-r--r--src/usr/trace/interface.C14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/usr/trace/interface.C b/src/usr/trace/interface.C
index 134940185..c7856e712 100644
--- a/src/usr/trace/interface.C
+++ b/src/usr/trace/interface.C
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2012,2015 */
+/* Contributors Listed Below - COPYRIGHT 2012,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -117,6 +117,18 @@ namespace TRACE
Singleton<Service>::instance().flushBuffers();
}
+#ifndef __HOSTBOOT_RUNTIME
+ void enableContinousTrace()
+ {
+ Singleton<Service>::instance().enableContinous();
+ }
+
+ void disableContinousTrace()
+ {
+ Singleton<Service>::instance().disableContinous();
+ }
+#endif
+
bool isDebugEnabled(ComponentDesc * i_td)
{
return i_td->iv_debugEnabled;
OpenPOWER on IntegriCloud