summaryrefslogtreecommitdiffstats
path: root/src/include/usr/errl
Commit message (Collapse)AuthorAgeFilesLines
...
* Compile Hostboot without -fshort-enumsNick Bofferding2012-08-031-24/+25
| | | | | | | | | | | | | | | | - Removed -fshort-enums from config.mk - Fixed incorrect buffer size calculation in target.C - Disabled short enums in targeting compiler - Removed unnecessary assert - Updated enum storage space Change-Id: Ia83f942b54bc5ee246ce8d69750081714d458dcf RTC: 35808 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1437 Tested-by: Jenkins Server Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errlog User Details : Hardware RegisterBrian Horton2012-06-264-5/+334
| | | | | | | | | | | | | | | | Add support for new User Details error log class that will log a hardware register. Developer can read the data and then call the errlog function to have it dumped, or can just call the errlog function to do the deviceRead go get the data. Also, fix bugs in a couple of device read functions that were too strict in their size check - input buffer size just needs to be >= size required, not ==. Change-Id: I05ba42ecd13b3fc963c56bb706d855c9c89412a3 RTC: 38497 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Coalesce ERRL user detail data error log sectionsBrian Horton2012-06-075-10/+28
| | | | | | | | | | | | | | | | | | | | | Add optional 'merge' flag to addFFDC() method which certain UserDetail error log objects will use to cause additional log entries to get merged together. They will ONLY get merged if they match with the last section added, to preserve error log order. In addition, add support for an addData() method on the Attributes User Detail class. And re-organize code so that constructor methods are smaller, making final library smaller. NOTE - the parse() functions are NOT complete, since building and executing the hb errlparser tool is currently broken. Story 41707 is open to do that work once the tool builds. Change-Id: I04d85620efe964ac243dd76df78ad4161e5a2f13 RTC: 41534 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1050 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Errlog User Details: Log Arbitrary AttributesBrian Horton2012-05-084-16/+175
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add code so that a hostboot or procedure developer can save attributes into an error log and have them display in a human-readable way in order to aid debug and FA. All data is stored in errlog in binary format and decoded into strings and enum 'constants' with the parse function. Methods to dump and parse the attributes are auto-generated by the xmltohb.pl script. In addition, cleanup up Target User Details so that blanks lines aren't output and so that the attribute name isn't put into the error log and is instead added by the parse function (smaller errlog usage), and change to same coding style as other UserDetail functions (data put into buffer in ctor and not in addToLog function). following will be added in future story/task work: - parsing for complex attributes. - combining multiple attribute user details together instead of generating a separate log entry for each. Change-Id: I6baafa36ef095aafabb5bf86d6054bcb3db47019 RTC: 35275 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/944 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* ERRL: Minor fixes to enable error log parserMike Jones2012-04-031-6/+12
| | | | | | | Change-Id: If0ca350e5a791900e667c457668ee5200dfc9eb9 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/810 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* HWPF: Decode HWP FFDC in error logsMike Jones2012-03-212-2/+93
| | | | | | | | | | | RTC: 37921 Change-Id: I6c8bbe5e92eb6e22eb18cba3529128ae70a9786f Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/768 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Brian H. Horton <brianh@linux.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Interface to remove backtrace from error logMike Jones2012-03-161-12/+13
| | | | | | | | | RTC: 37794 Change-Id: I944f6ed9c86c64e0d3a84649d1f71e66a9aaa7c3 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/732 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* ERRL: Ensure all Hostboot code uses ErrlUserDetails framework.Mike Jones2012-03-169-293/+704
| | | | | | | | | RTC: 36920 Change-Id: I82667c8e63e8a99b9cc7eb1dfbbbdbe1c3b2bb2a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/730 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Task 37412: DeconfigGard: Add Target data to error logsBrian Horton2012-02-161-2/+2
| | | | | | | | | | | add use of ErrlUserDetailsTarget to add FFDC to a section of the errlog for desired cases. Change-Id: I1e9fb9d5b8ed42c7a26eb44b7eb4e0c19c5268a5 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/664 Tested-by: Jenkins Server Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com> Reviewed-by: Van H. Lee <vanlee@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Hostboot-aware errl tool part 1.Monte Copeland2012-02-029-29/+59
| | | | | | | Change-Id: Ibe49dc935206775de032d397b2800a7b83208283 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/630 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Common Errl FFDC Classes: DCUT - RTC4289Van Lee2012-02-012-0/+172
| | | | | | | Change-Id: Ie0c7cc6422d30fe0b5449eb54aaa62ebb54774e7 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/618 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Error Log Backtrace SupportTerry J. Opie2011-12-012-3/+61
| | | | | | | | | | | This code collects the addresses for each of the frames, but does not parse the data. The support to do this isn't available in the errl parser as of yet. Change-Id: I4804ab100fc376e26ef908c472c94202b4642aac Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/515 Tested-by: Jenkins Server Reviewed-by: Terry J. Opie <opiet@us.ibm.com>
* collectTrace to allow partial trace buffer collectionMonte Copeland2011-11-211-8/+15
| | | | | | | Change-Id: I06ce6df416f38c4619281180ea8515c90f8f2fab Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/498 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Errl commit with component IDMonte Copeland2011-11-021-1/+1
| | | | | | | | Change-Id: Ic8fcd3c69330878e8e7a75ba6ba9d3c60aca6251 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/482 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* RTC3964: x86 Support for UserDetailsMark Wenning2011-11-024-2/+355
| | | | | | | | | | | | - first commit - errlparserbase and errluserparser - need linker step for userdetails libs - final merge Change-Id: I32daae8de483616f20e66581f4e8f3de0dc98257 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/467 Tested-by: Jenkins Server Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* RTC3964: ErrorLog User Data ParserMark Wenning2011-11-014-12/+296
| | | | | | | | | | | | | | | | | - created - add unittest for FILENAME - add unittest for StackTrace - still need to handle x86 (mini-errl) side - post-review changes - Monte's suggestions - Thi's suggestions - remove appendToLog() - combine with addToLog() - fix merge error - fsi was in both BASE and EXTENDED Change-Id: I863aae9f75aad5d576e839a9ef3099af6943982b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/429 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com>
* Error log changes for Sprint 6Monte Copeland2011-10-319-194/+1348
| | | | | | | | Change-Id: I44ad678cfae8cd84e5370391dc7e20d74f59c9ca Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/449 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com>
* Add copyright headers to all source files.Patrick Williams2011-08-244-0/+88
| | | | | | | Change-Id: I205f2409e56032cfc0aaf01d7e26d357f0b86373 Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/277 Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Tested-by: Jenkins Server
* Changes to errl to commit error logs to L3 RAM 7Monte Copeland2011-08-163-82/+262
| | | | | | | Change-Id: Ic058a5b9ea6f8f1d79fc0ff30097cc32f18423bd Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/221 Reviewed-by: Monte K. Copeland <copelanm@us.ibm.com> Tested-by: Jenkins Server
* Add user data macros, fix singleton for error logging.Thi Tran2011-06-014-11/+94
| | | | | | | | Change-Id: Ie093af3c3c1202563c47c01472a97dd36a3a184a Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/106 Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com> Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
* Initial Error Log code deliveryThi Tran2011-05-243-0/+660
Merge src/usr/makefile conflict Update after first review Update after 2nd review. Add error creation example Update example with review comments Re-arrange parameters' order of error log constructor Update with additional comments from Patrick Change-Id: I18001f6232492a3acfd8819b34ef670a785ac483 Reviewed-on: http://gfwr801.rchland.ibm.com:8080/gerrit/72 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
OpenPOWER on IntegriCloud