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.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