diff options
| author | Elizabeth Liner <eliner@us.ibm.com> | 2015-04-28 16:37:03 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-05-01 15:49:25 -0500 |
| commit | cb4f271c1e16ce8ac16633757abf9b4526eafefe (patch) | |
| tree | f76a106196886200340c0858e1d4aeed3331b6a6 /src/include/usr/trace | |
| parent | 8b26c2f8041fe8af96e39e6f92bdbd7fab0d5845 (diff) | |
| download | blackbird-hostboot-cb4f271c1e16ce8ac16633757abf9b4526eafefe.tar.gz blackbird-hostboot-cb4f271c1e16ce8ac16633757abf9b4526eafefe.zip | |
Fixed strlen exception caused by an extra string interpretation
Change-Id: I44905323854339e7169a493285077de7909a0722
RTC:124618
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17510
Tested-by: Jenkins Server
Reviewed-by: ANDRES A. LUGO-REYES <aalugore@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 | 9 | ||||
| -rw-r--r-- | src/include/usr/trace/trace.H | 3 |
2 files changed, 1 insertions, 11 deletions
diff --git a/src/include/usr/trace/interface.H b/src/include/usr/trace/interface.H index 4115ec2b7..f6be30fef 100644 --- a/src/include/usr/trace/interface.H +++ b/src/include/usr/trace/interface.H @@ -218,19 +218,12 @@ const uint32_t TRACE_FIELD = 0; //Indicates trace is field */ #define TRACFBIN(des,printf_string,address,len) \ { \ - /*TODO: RTC 124618 - remove this block once issue is resolved*/ \ - uint16_t l_length = len; \ - if(l_length > MAX_WORKING_TRACBIN_SIZE) \ - { \ - l_length = MAX_WORKING_TRACBIN_SIZE; \ - TRACFCOMP(des,"Shrinking to max size in TRACFBIN"); \ - } \ __TRACE_HASH_STRUCTURES(printf_string); \ TRACE::trace_adal_write_bin((des), \ &__traceData_codeInfo, \ __LINE__, \ address, \ - l_length, \ + len, \ TRACE_FIELD); \ } diff --git a/src/include/usr/trace/trace.H b/src/include/usr/trace/trace.H index bf5421c24..fdcce8892 100644 --- a/src/include/usr/trace/trace.H +++ b/src/include/usr/trace/trace.H @@ -42,9 +42,6 @@ const uint32_t TRACE_DEBUG_OFF = 0; //< Set to this when debug trace off const uint32_t TRAC_COMP_SIZE = 16; //< Max component name size const uint32_t TRAC_MAX_ARGS = 9; //< Max number of arguments in trace -//TODO: RTC 124618 - remove this block once issue is resolved -const uint16_t MAX_WORKING_TRACBIN_SIZE = 64; //< Max working tracBin size - typedef uint32_t trace_hash_val; //< Hash values are 32 bits. |

