summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl
diff options
context:
space:
mode:
authorAndres Lugo-Reyes <aalugore@us.ibm.com>2015-05-05 13:14:27 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2015-06-19 16:00:51 -0500
commitef69ea46b6208625307bd42b2cf29beef10c8418 (patch)
tree1256d14ea7950e28714553f5503be2530bd04e9d /src/include/usr/errl
parent4d1c59f09b6b0ab9236aa42694cb2e42cbe8d3eb (diff)
downloadblackbird-hostboot-ef69ea46b6208625307bd42b2cf29beef10c8418.tar.gz
blackbird-hostboot-ef69ea46b6208625307bd42b2cf29beef10c8418.zip
Add serial numbers/part numbers to err logs w/ hwcallouts
Change-Id: Ifef77c71f40e70136cdb5172ce653f7a5ebfdd10 RTC:122890 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/16870 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Corey V. Swenson <cswenson@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl')
-rw-r--r--src/include/usr/errl/errlentry.H9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H
index 27fcf126f..38624ab6b 100644
--- a/src/include/usr/errl/errlentry.H
+++ b/src/include/usr/errl/errlentry.H
@@ -711,6 +711,15 @@ private:
*/
void addHbBuildId();
+ /**
+ * @brief called by addHwCallout to retrieve the serial and part number
+ * from the current target. If the current target does not contain
+ * ATTR_PART_NUMBER or ATTR_SERIAL_NUMBER, find the first parent that does
+ * and adds the attribute to the error log.
+ *
+ * @param[in] i_target The target to get the numbers for
+ */
+ void addPartAndSerialNumbersToErrLog(const TARGETING::Target * i_target);
/**
* @brief Disabled copy constructor and assignment operator
OpenPOWER on IntegriCloud