summaryrefslogtreecommitdiffstats
path: root/src/usr/trace/interface.C
diff options
context:
space:
mode:
authorAndrew Geissler <andrewg@us.ibm.com>2014-12-09 09:45:14 -0600
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-01-22 17:28:34 -0600
commit3443aa895cfc6ad9acaed6f26622ce540f96e30d (patch)
tree3566d1b79d548b3ef52a71c2d7c921ba79010010 /src/usr/trace/interface.C
parent32c1363b48266e3c10a37345225d35f06c863073 (diff)
downloadblackbird-hostboot-3443aa895cfc6ad9acaed6f26622ce540f96e30d.tar.gz
blackbird-hostboot-3443aa895cfc6ad9acaed6f26622ce540f96e30d.zip
Data streaming from a hw procedure - simple solution to console
Change-Id: Icbf4b70acbe3909211294be9f0faed338763fc55 RTC: 34190 CMVC-Prereq: 949573 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/14799 Tested-by: Jenkins Server Reviewed-by: Thi N. Tran <thi@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/trace/interface.C')
-rw-r--r--src/usr/trace/interface.C9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/usr/trace/interface.C b/src/usr/trace/interface.C
index b450416f7..134940185 100644
--- a/src/usr/trace/interface.C
+++ b/src/usr/trace/interface.C
@@ -5,7 +5,9 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* COPYRIGHT International Business Machines Corp. 2012,2014 */
+/* Contributors Listed Below - COPYRIGHT 2012,2015 */
+/* [+] International Business Machines Corp. */
+/* */
/* */
/* Licensed under the Apache License, Version 2.0 (the "License"); */
/* you may not use this file except in compliance with the License. */
@@ -115,6 +117,9 @@ namespace TRACE
Singleton<Service>::instance().flushBuffers();
}
-
+ bool isDebugEnabled(ComponentDesc * i_td)
+ {
+ return i_td->iv_debugEnabled;
+ }
};
OpenPOWER on IntegriCloud