diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2013-09-20 12:39:54 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2013-10-08 21:24:27 -0500 |
commit | cf3d24d5e0d78e4e8fe1c155a7c556164ae42a51 (patch) | |
tree | 7592703a4504d7860af0d9a81872ef17b29104d7 /src/include/usr/trace | |
parent | aa0428221628fdb25c980f5764a3b4400004ee5d (diff) | |
download | talos-hostboot-cf3d24d5e0d78e4e8fe1c155a7c556164ae42a51.tar.gz talos-hostboot-cf3d24d5e0d78e4e8fe1c155a7c556164ae42a51.zip |
Runtime trace interfaces.
Change-Id: Ie261eba4bd790150d520bb0261f56c8329cb6a80
RTC: 79420
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/6400
Tested-by: Jenkins Server
Reviewed-by: Douglas R. Gilbert <dgilbert@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/trace')
-rw-r--r-- | src/include/usr/trace/interface.H | 4 | ||||
-rw-r--r-- | src/include/usr/trace/trace.H | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/usr/trace/interface.H b/src/include/usr/trace/interface.H index 6b7dee2f7..aa2909315 100644 --- a/src/include/usr/trace/interface.H +++ b/src/include/usr/trace/interface.H @@ -163,7 +163,7 @@ const uint32_t TRACE_FIELD = 0; //Indicates trace is field { \ __TRACE_HASH_STRUCTURES(printf_string); \ TRACE::trace_adal_write_bin((des), \ - __traceData_codeInfo.hash, \ + &__traceData_codeInfo, \ __LINE__, \ address, \ len, \ @@ -218,7 +218,7 @@ const uint32_t TRACE_FIELD = 0; //Indicates trace is field { \ __TRACE_HASH_STRUCTURES(printf_string); \ TRACE::trace_adal_write_bin((des), \ - __traceData_codeInfo.hash, \ + &__traceData_codeInfo, \ __LINE__, \ address, \ len, \ diff --git a/src/include/usr/trace/trace.H b/src/include/usr/trace/trace.H index ffbf3a5cb..d4f05b381 100644 --- a/src/include/usr/trace/trace.H +++ b/src/include/usr/trace/trace.H @@ -130,7 +130,7 @@ namespace TRACE * name of this function as is. * * @param [in,out] io_td Trace descriptor of buffer to write to. - * @param [in] i_hash Descriptive string hash value + * @param [in] i_info Info struct for the hash and format string. * @param [in] i_line Line number trace was done at * @param [in] i_ptr Pointer to binary data * @param [in] i_size Size of binary data @@ -139,7 +139,7 @@ namespace TRACE * @return void */ void trace_adal_write_bin(ComponentDesc * io_td, - const trace_hash_val i_hash, + const traceCodeInfo* i_info, const uint32_t i_line, const void *i_ptr, const uint32_t i_size, |