summaryrefslogtreecommitdiffstats
path: root/src/usr/trace/interface.C
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2016-05-15 12:03:54 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-06-24 10:56:44 -0400
commitaa513a3a39202bcbc5294cd1ef6618ecbe151bf8 (patch)
tree03a13ac3ed32fe5d30027a25e1033912f5698cc0 /src/usr/trace/interface.C
parent7e8f95823e071367bc17bb95113239324f06e5d5 (diff)
downloadtalos-hostboot-aa513a3a39202bcbc5294cd1ef6618ecbe151bf8.tar.gz
talos-hostboot-aa513a3a39202bcbc5294cd1ef6618ecbe151bf8.zip
FSPless continous tracing support
- Updated trace daemon to output trace buf addr, size to mbox scratch 1, 2 - Moved enable disable of continous trace to "istep" control - Updated istep tool to dump traces to file and commandline Change-Id: I2d9f48f5ed9878591ff9ab45fa18a98fc286ac1f RTC:127346 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24565 Tested-by: Jenkins Server Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Tested-by: FSP CI Jenkins Reviewed-by: Prachi Gupta <pragupta@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
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