summaryrefslogtreecommitdiffstats
path: root/src/include/usr/trace
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/usr/trace')
-rw-r--r--src/include/usr/trace/trace.H8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/include/usr/trace/trace.H b/src/include/usr/trace/trace.H
index e5ecf8996..fdcce8892 100644
--- a/src/include/usr/trace/trace.H
+++ b/src/include/usr/trace/trace.H
@@ -5,7 +5,7 @@
/* */
/* OpenPOWER HostBoot Project */
/* */
-/* Contributors Listed Below - COPYRIGHT 2011,2014 */
+/* Contributors Listed Below - COPYRIGHT 2011,2015 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -181,6 +181,12 @@ namespace TRACE
*/
void flushBuffers();
+ /**
+ * @brief Return if debug trace is enabled for input trace descriptor
+ *
+ * @param [in] i_td Trace descriptor to check for debug enable
+ */
+ bool isDebugEnabled(ComponentDesc * i_td);
};
OpenPOWER on IntegriCloud