diff options
author | Matt Spinler <spinler@us.ibm.com> | 2019-10-23 09:26:48 -0500 |
---|---|---|
committer | Matt Spinler <spinler@us.ibm.com> | 2019-11-04 16:14:16 -0600 |
commit | aa659477fa398f255c5a87207224d59aea15aa34 (patch) | |
tree | eb3eef6ec6cd089eca8b92d80534c0ce0bad7d75 /extensions/openpower-pels/manager.cpp | |
parent | 67456c2baa53c96118cd0565a8ec0f3814b38f68 (diff) | |
download | phosphor-logging-aa659477fa398f255c5a87207224d59aea15aa34.tar.gz phosphor-logging-aa659477fa398f255c5a87207224d59aea15aa34.zip |
PEL: Create FailingMTMS section for new PELs
When a PEL is created from an OpenBMC event log, add the FailingMTMS
section to the PEL. This contains the machine type, model, and serial
number fields.
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: I8d08e6dda00260efebd2c6ac165270d2aaf98d67
Diffstat (limited to 'extensions/openpower-pels/manager.cpp')
-rw-r--r-- | extensions/openpower-pels/manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/openpower-pels/manager.cpp b/extensions/openpower-pels/manager.cpp index 2141a71..bc62bd3 100644 --- a/extensions/openpower-pels/manager.cpp +++ b/extensions/openpower-pels/manager.cpp @@ -116,8 +116,8 @@ void Manager::createPEL(const std::string& message, uint32_t obmcLogID, { AdditionalData ad{additionalData}; - auto pel = - std::make_unique<PEL>(*entry, obmcLogID, timestamp, severity, ad); + auto pel = std::make_unique<PEL>(*entry, obmcLogID, timestamp, severity, + ad, *_dataIface); _repo.add(pel); } |