summaryrefslogtreecommitdiffstats
path: root/src/include/runtime
diff options
context:
space:
mode:
authorDan Crowell <dcrowell@us.ibm.com>2018-08-20 16:35:49 -0500
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2018-10-02 08:57:58 -0500
commit46b6d71b01b4936cfdf1e3236cde199a3940a231 (patch)
treef413bdd97c15a311b154a971a7338ef3d0772f25 /src/include/runtime
parent01fcdb647ea0a6c899b9de21ed144f16dc2f2afb (diff)
downloadtalos-hostboot-46b6d71b01b4936cfdf1e3236cde199a3940a231.tar.gz
talos-hostboot-46b6d71b01b4936cfdf1e3236cde199a3940a231.zip
Add consistent enter-exit traces for all runtime interfaces
Created a new 'HBRT' trace buffer that is exclusively used to bound the external calls into our runtime image. Modified the return code values to be the reasoncode of the error log we commit instead of a generic '-1' value that is not very helpful. Change-Id: Id41288ea1903bf6d11e967fcb10a8184153943c8 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64871 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian J. Stegmiller <bjs@us.ibm.com> Reviewed-by: Matt Derksen <mderkse1@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/include/runtime')
-rw-r--r--src/include/runtime/hbrt_utilities.H2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/runtime/hbrt_utilities.H b/src/include/runtime/hbrt_utilities.H
index 9f7e69225..649677422 100644
--- a/src/include/runtime/hbrt_utilities.H
+++ b/src/include/runtime/hbrt_utilities.H
@@ -27,6 +27,8 @@
#ifndef __HOSTBOOT_RUNTIME_INTERFACE_VERSION_ONLY
+#define HBRT_TRACE_NAME "HBRT"
+
#include "interface.h"
/** @file hbrt_utilities.H
OpenPOWER on IntegriCloud