diff options
| author | Andres Lugo-Reyes <aalugore@us.ibm.com> | 2015-05-20 14:12:35 -0500 |
|---|---|---|
| committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2015-07-02 13:38:01 -0500 |
| commit | ad46bacd1b73e03203bbee12ce94867f0b291f57 (patch) | |
| tree | 60f578c664b2bd831597aeea944dd100be75ff23 /src/include/usr/errl/errlentry.H | |
| parent | e70e9e57950904ae9d137df53961498c3e286295 (diff) | |
| download | blackbird-hostboot-ad46bacd1b73e03203bbee12ce94867f0b291f57.tar.gz blackbird-hostboot-ad46bacd1b73e03203bbee12ce94867f0b291f57.zip | |
Ignore info/recovered logs in OpenPower boxes
Change-Id: Icb6f8b39ee7ab299f4292ac2d775adaf9c16721b
RTC:126449
Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/17807
Tested-by: Jenkins Server
Tested-by: Jenkins OP Build CI
Tested-by: Jenkins OP HW
Reviewed-by: Brian H. Horton <brianh@linux.ibm.com>
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/include/usr/errl/errlentry.H')
| -rw-r--r-- | src/include/usr/errl/errlentry.H | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/include/usr/errl/errlentry.H b/src/include/usr/errl/errlentry.H index 38624ab6b..6baaccf3b 100644 --- a/src/include/usr/errl/errlentry.H +++ b/src/include/usr/errl/errlentry.H @@ -401,6 +401,7 @@ public: */ uint64_t getUserData2() const; + /** * @brief Allows the caller to add a chunk of FFDC data in a log * @@ -722,6 +723,22 @@ private: void addPartAndSerialNumbersToErrLog(const TARGETING::Target * i_target); /** + * @brief set iv_skipShowingLogs + * + * @return nothing + */ + void setSkipShowingLog(bool i_showLog); + + /** + * @brief get iv_skipShowingLogs + * + * @return true if the log should be skipped, false otherwise + */ + bool getSkipShowingLog(); + + + + /** * @brief Disabled copy constructor and assignment operator */ ErrlEntry(const ErrlEntry& i_right); @@ -743,6 +760,10 @@ private: // when true, the severity has been set "final" and can not be changed. bool iv_sevFinal; + //when true, the current error log will not be saved to PNOR, sent to the + //BMC, or displayed in the console + bool iv_skipShowingLog; + }; @@ -874,6 +895,21 @@ inline void ErrlEntry::setSrcType(const srcType_t i_srcType) return; } +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +inline void ErrlEntry::setSkipShowingLog(bool i_showLog) +{ + iv_skipShowingLog = i_showLog; + return; +} + +//////////////////////////////////////////////////////////////////////////// +//////////////////////////////////////////////////////////////////////////// +inline bool ErrlEntry::getSkipShowingLog() +{ + return iv_skipShowingLog; +} + } // End namespace |

