summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl/errlreasoncodes.H
diff options
context:
space:
mode:
authorMatt Raybuck <mraybuc@us.ibm.com>2018-08-16 15:56:18 -0500
committerDaniel M. Crowell <dcrowell@us.ibm.com>2018-08-28 13:42:51 -0500
commit6a593d78b7c559ab77ab315b0534b253df2f3ace (patch)
treeb31e0da193d50fc806a062f686f9ff7d5a855bf4 /src/include/usr/errl/errlreasoncodes.H
parentcc012e3efd4cf8b66b65e6c3e6731cdec870da18 (diff)
downloadtalos-hostboot-6a593d78b7c559ab77ab315b0534b253df2f3ace.tar.gz
talos-hostboot-6a593d78b7c559ab77ab315b0534b253df2f3ace.zip
Combine trace buffers in errlog
Whenever ErrlEntry::collectTrace() was called it would create a new trace UD section each time. This led to duplicate entries in the errl. A new function was added to ErrlEntry to prune duplicates called removeDuplicateTraces(). Change-Id: I3685ecf1368dad421bca2d1b6b612e08755e25ce RTC: 118128 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/64971 Reviewed-by: Roland Veloz <rveloz@us.ibm.com> Reviewed-by: ILYA SMIRNOV <ismirno@us.ibm.com> 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> Reviewed-by: Nicholas E. Bofferding <bofferdn@us.ibm.com> Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlreasoncodes.H')
-rw-r--r--src/include/usr/errl/errlreasoncodes.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlreasoncodes.H b/src/include/usr/errl/errlreasoncodes.H
index c77e1de2a..56f9b7f87 100644
--- a/src/include/usr/errl/errlreasoncodes.H
+++ b/src/include/usr/errl/errlreasoncodes.H
@@ -58,6 +58,7 @@ namespace ERRORLOG
ERRL_TEST_LOGREGISTER_UD = ERRL_COMP_ID | 0x05,
ERRL_TEST_CALLOUT_UD = ERRL_COMP_ID | 0x06,
ERRL_CORE_EX_TARGET_NULL = ERRL_COMP_ID | 0x07,
+ ERRL_TEST_DUPLICATE_TRACE = ERRL_COMP_ID | 0x08,
//........
ERRL_LAST_ERR = ERRL_COMP_ID | 0xFF
};
OpenPOWER on IntegriCloud