summaryrefslogtreecommitdiffstats
path: root/src/include/usr
diff options
context:
space:
mode:
authorJaymes Wilks <mjwilks@us.ibm.com>2016-02-17 14:08:22 -0600
committerDaniel M. Crowell <dcrowell@us.ibm.com>2016-05-10 11:30:41 -0400
commit6b5cbe4f6329a608a916b74cf5a2dff12546827e (patch)
treeabe0d913c7f5d7212c082462133069c168cd602a /src/include/usr
parent9f8d0889827da64842444c8ba5a0d26e38520b2c (diff)
downloadtalos-hostboot-6b5cbe4f6329a608a916b74cf5a2dff12546827e.tar.gz
talos-hostboot-6b5cbe4f6329a608a916b74cf5a2dff12546827e.zip
Output native trace data to console
Trace data is printed as ascii hex values to console when turned on. Traces can now be recreated using a command line tool and the hbotStringFile. Change-Id: I8e8a95945002a9acbe555d1e75482d289c7ef8fa BackPort: no RTC:143820 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/21593 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: Stephen M. Cprek <smcprek@us.ibm.com> Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com> Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/24218 Reviewed-by: Jay M. Azurin <jmazurin@us.ibm.com>
Diffstat (limited to 'src/include/usr')
-rw-r--r--src/include/usr/trace/trace.H14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/include/usr/trace/trace.H b/src/include/usr/trace/trace.H
index fdcce8892..d01003650 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,2015 */
+/* Contributors Listed Below - COPYRIGHT 2011,2016 */
/* [+] International Business Machines Corp. */
/* */
/* */
@@ -188,6 +188,18 @@ namespace TRACE
*/
bool isDebugEnabled(ComponentDesc * i_td);
+ /**
+ * @brief Sets TraceLite as enabled or disabled.
+ *
+ * @param [in] i_tlEnabled - 1 for enabled 0 for disabled.
+ */
+ void setTraceLite(uint8_t i_tlEnabled);
+
+ /** @brief Gets TraceLite setting (either enabled or disabled).
+ * @return 1 for enabled, 0 for disabled
+ */
+ uint8_t getTraceLite();
+
};
typedef TRACE::ComponentDesc trace_desc_t;
OpenPOWER on IntegriCloud