| /openbmc/openbmc-test-automation/openpower/pel/ |
| H A D | test_bmc_pel.robot | 2 Documentation This suite tests Platform Event Log (PEL) functionality of OpenBMC. 27 Create Test PEL Log And Verify 28 [Documentation] Create PEL log using busctl command and verify via peltool. 32 Create Test PEL Log 33 ${pel_id}= Get PEL Log Via BMC CLI 34 Should Not Be Empty ${pel_id} msg=System PEL log entry is empty. 37 Verify PEL Log Details 38 [Documentation] Verify PEL log details via peltool. 44 Create Test PEL Log 71 # Verify if "CompID" and "SRC" fields of PEL has alphanumeric value. [all …]
|
| /openbmc/phosphor-logging/extensions/openpower-pels/ |
| H A D | pel.hpp | 63 class PEL class 66 PEL() = delete; 67 ~PEL() = default; 68 PEL(const PEL&) = delete; 69 PEL& operator=(const PEL&) = delete; 70 PEL(PEL&&) = delete; 71 PEL& operator=(PEL&&) = delete; 85 explicit PEL(std::vector<uint8_t>& data); 95 PEL(std::vector<uint8_t>& data, uint32_t obmcLogID); 112 PEL(const openpower::pels::message::Entry& entry, uint32_t obmcLogID,
|
| H A D | pel.cpp | 50 PEL::PEL(const message::Entry& regEntry, uint32_t obmcLogID, uint64_t timestamp, in PEL() function in openpower::pels::PEL 201 PEL::PEL(std::vector<uint8_t>& data) : PEL(data, 0) {} in PEL() function in openpower::pels::PEL 203 PEL::PEL(std::vector<uint8_t>& data, uint32_t obmcLogID) in PEL() function in openpower::pels::PEL 208 void PEL::populateFromRawData(std::vector<uint8_t>& data, uint32_t obmcLogID) in populateFromRawData() 227 bool PEL::valid() const in valid() 248 void PEL::setCommitTime() in setCommitTime() 254 void PEL::assignID() in assignID() 259 void PEL::flatten(std::vector<uint8_t>& pelBuffer) const in flatten() 277 std::vector<uint8_t> PEL::data() const in data() 284 size_t PEL::size() const in size() [all …]
|
| H A D | README.md | 1 # OpenPower Platform Event Log (PEL) extension 4 to point to the raw PEL to use in the OpenBMC event, and then that will be used 11 - [The PEL Message Registry](#the-pel-message-registry) 15 - [PEL Retention](#pel-retention) 16 - [Adding python3 modules for PEL UserData and SRC parsing](#adding-python3-modules-for-pel-userdat… 19 - [PEL Archiving](#pel-archiving) 22 ## Passing PEL related data within an OpenBMC event log 24 An error log creator can pass in data that is relevant to a PEL by using certain 31 This keyword is used to point to an existing PEL in a binary file that should be 35 RAWPEL=<path to PEL File> [all …]
|
| H A D | manager.hpp | 28 sdbusplus::org::open_power::Logging::server::PEL>; 247 std::string getResolution(const openpower::pels::PEL& pel) const; 254 std::string getEventId(const openpower::pels::PEL& pel) const; 286 void updateProgressSRC(std::unique_ptr<openpower::pels::PEL>& pel) const; 415 void checkPelAndQuiesce(std::unique_ptr<openpower::pels::PEL>& pel); 425 void updateEventId(std::unique_ptr<openpower::pels::PEL>& pel); 457 bool updateResolution(const openpower::pels::PEL& pel); 466 void updateDBusSeverity(const openpower::pels::PEL& pel); 506 openpower::pels::PEL& pel);
|
| H A D | service_indicators.hpp | 38 virtual void activate(const PEL& pel) = 0; 92 void activate(const PEL& pel) override; 120 bool ignore(const PEL& pel) const;
|
| H A D | repository.hpp | 169 void add(std::unique_ptr<PEL>& pel); 227 using ForEachFunc = std::function<bool(const PEL&)>; 247 using AddCallback = std::function<void(const PEL&)>; 454 void archivePEL(const PEL& pel); 456 using PELUpdateFunc = std::function<bool(PEL&)>; 492 void processAddCallbacks(const PEL& pel) const; 515 void write(const PEL& pel, const std::filesystem::path& path);
|
| H A D | host_notifier.hpp | 172 void newLogCallback(const PEL& pel); 194 bool addPELToQueue(const PEL& pel);
|
| H A D | repository.cpp | 85 PEL pel{data}; in restore() 159 void Repository::add(std::unique_ptr<PEL>& pel) in add() 194 void Repository::write(const PEL& pel, const fs::path& path) in write() 326 PEL pel{data}; in for_each() 343 void Repository::processAddCallbacks(const PEL& pel) const in processAddCallbacks() 397 PELUpdateFunc func = [state](PEL& pel) { in setPELHostTransState() 423 PELUpdateFunc func = [state](PEL& pel) { in setPELHMCTransState() 448 PEL pel{data}; in updatePEL() 768 void Repository::archivePEL(const PEL& pel) in archivePEL()
|
| H A D | manager.cpp | 129 auto pel = std::make_unique<openpower::pels::PEL>(pelData, obmcLogID); in addPEL() 388 auto pel = std::make_unique<openpower::pels::PEL>( in createPEL() 691 void Manager::checkPelAndQuiesce(std::unique_ptr<openpower::pels::PEL>& pel) in checkPelAndQuiesce() 729 std::string Manager::getEventId(const openpower::pels::PEL& pel) const in getEventId() 754 void Manager::updateEventId(std::unique_ptr<openpower::pels::PEL>& pel) in updateEventId() 776 std::string Manager::getResolution(const openpower::pels::PEL& pel) const in getResolution() 842 bool Manager::updateResolution(const openpower::pels::PEL& pel) in updateResolution() 863 void Manager::updateDBusSeverity(const openpower::pels::PEL& pel) in updateDBusSeverity() 1005 std::unique_ptr<openpower::pels::PEL>& pel) const in updateProgressSRC() 1059 openpower::pels::PEL& pel) in clearPowerThermalDeconfigFlag() [all …]
|
| /openbmc/phosphor-dbus-interfaces/gen/org/open_power/Logging/PEL/ |
| H A D | meson.build | 4 sdbusplus_current_path = 'org/open_power/Logging/PEL' 9 '../../../../../yaml/org/open_power/Logging/PEL.interface.yaml', 29 'org/open_power/Logging/PEL', 43 'org/open_power/Logging/PEL/Entry__markdown'.underscorify(), 45 '../../../../../yaml/org/open_power/Logging/PEL/Entry.interface.yaml', 59 'org/open_power/Logging/PEL/Entry',
|
| /openbmc/phosphor-logging/test/openpower-pels/ |
| H A D | repository_test.cpp | 61 auto pel = std::make_unique<PEL>(data); in TEST_F() 90 auto pel = std::make_unique<PEL>(data, 1); in TEST_F() 120 auto pel = std::make_unique<PEL>(data, 1); in TEST_F() 127 auto pel = std::make_unique<PEL>(data, 2); in TEST_F() 189 auto pel = std::make_unique<PEL>(data); in TEST_F() 206 auto pel = std::make_unique<PEL>(data); in TEST_F() 209 pel = std::make_unique<PEL>(data); in TEST_F() 216 Repository::ForEachFunc f1 = [&ids](const PEL& pel) { in TEST_F() 226 Repository::ForEachFunc f2 = [&ids](const PEL& pel) { in TEST_F() 241 Repository::AddCallback ac = [&added](const PEL& pel) { in TEST_F() [all …]
|
| H A D | pel_test.cpp | 51 auto pel = std::make_unique<PEL>(data); in TEST_F() 69 auto pel = std::make_unique<PEL>(data); in TEST_F() 79 auto newPel = std::make_unique<PEL>(newData); in TEST_F() 86 auto pel = std::make_unique<PEL>(data); in TEST_F() 96 auto newPel = std::make_unique<PEL>(newData); in TEST_F() 103 auto pel = std::make_unique<PEL>(data, 0x42); in TEST_F() 116 auto pel = std::make_unique<PEL>(data); in TEST_F() 125 pel = std::make_unique<PEL>(data); in TEST_F() 135 auto pel = std::make_unique<PEL>(data); in TEST_F() 159 PEL pel{regEntry, 42, timestamp, phosphor::logging::Entry::Level::Error, in TEST_F() [all …]
|
| H A D | service_indicators_test.cpp | 37 PEL pel{data}; in TEST() 271 PEL pel{data}; in TEST() 297 PEL pel{data}; in TEST() 314 PEL pel{data}; in TEST() 336 PEL pel{data}; in TEST() 355 PEL pel{data}; in TEST() 374 PEL pel{data}; in TEST()
|
| H A D | host_notifier_test.cpp | 71 std::unique_ptr<PEL> makePEL(uint16_t actionFlagsMask = 0) in makePEL() 79 auto pel = std::make_unique<PEL>(data, obmcID++); in makePEL() 299 PEL pelFromRepo{*data}; in TEST_F() 583 PEL pelFromRepo1{*data}; in TEST_F() 588 PEL pelFromRepo2{*data}; in TEST_F() 632 PEL pelFromRepo{*data}; in TEST_F() 712 PEL pelFromRepo{*data}; in TEST_F()
|
| /openbmc/phosphor-dbus-interfaces/gen/org/open_power/Logging/ |
| H A D | meson.build | 2 subdir('PEL') subdir 9 '../../../../yaml/org/open_power/Logging/PEL.interface.yaml', 11 output: ['PEL.md'], 23 'org/open_power/Logging/PEL',
|
| /openbmc/phosphor-dbus-interfaces/gen/org/open_power/Logging/PEL/Entry/ |
| H A D | meson.build | 3 sdbusplus_current_path = 'org/open_power/Logging/PEL/Entry' 6 'org/open_power/Logging/PEL/Entry__cpp'.underscorify(), 8 '../../../../../../yaml/org/open_power/Logging/PEL/Entry.interface.yaml', 28 'org/open_power/Logging/PEL/Entry',
|
| /openbmc/phosphor-logging/extensions/openpower-pels/registry/ |
| H A D | README.md | 4 phosphor-logging using a message registry that provides the PEL related fields. 15 A component ID is a 2 byte value of the form 0xYY00 used in a PEL to: 19 2. Reside in the section header of the Private Header PEL section to specify the 33 [available](O_component_ids.json). That file can used by PEL parsers to display 49 OpenBMC event log that the PEL is being created from. 57 This field is part of the PEL User Header section, and is used to specify the 59 PEL value. If the subsystem isn't known ahead of time, it can be passed in at 60 the time of PEL creation using the 'PEL_SUBSYSTEM' AdditionalData field. In this 80 This field is part of the PEL User Header section, and is used to specify the 81 PEL severity. It is an optional field, if it isn't specified, then the severity [all …]
|
| /openbmc/docs/designs/ |
| H A D | error-log-handling-for-phal.md | 13 (PEL) format. 19 be converted to PEL format for logging the error entry. PEL helps to improve the 40 PEL. 70 PEL: [Platform Entity Log][1] 85 data in key, value pairs so that the same can be used in the creation of PEL. 91 status need to be returned to the caller so that caller can create PEL on 97 be captured as part of the PEL. 111 interface for the creation of PEL. 119 Debug traces returned through the callback method will be added to the PEL. 126 Debug traces returned through the callback method will be added to the PEL. [all …]
|
| /openbmc/openpower-vpd-parser/vpd-manager/src/ |
| H A D | single_fab.cpp | 154 PlaceHolder::PEL, in updateSystemImValueInVpdToP11Series() 188 PlaceHolder::PEL, in singleFabImOverride() 209 PlaceHolder::PEL, in singleFabImOverride() 227 PlaceHolder::PEL, in singleFabImOverride() 246 PlaceHolder::PEL, in singleFabImOverride() 272 PlaceHolder::PEL, in singleFabImOverride() 289 PlaceHolder::PEL, in singleFabImOverride()
|
| H A D | parser.cpp | 122 PlaceHolder::PEL, in updateVpdKeyword() 148 l_errMsg, PlaceHolder::PEL, in updateVpdKeyword() 210 l_errMsg, PlaceHolder::PEL, in updateVpdKeyword() 295 PlaceHolder::PEL, in updateVpdKeyword() 329 PlaceHolder::PEL, in updateVpdKeywordOnRedundantPath() 370 PlaceHolder::PEL, in updateVpdKeywordOnHardware() 400 PlaceHolder::PEL, in updateVpdKeywordOnHardware() 412 PlaceHolder::PEL, in updateVpdKeywordOnHardware()
|
| H A D | listener.cpp | 45 PlaceHolder::PEL, in registerHostStateChangeCallback() 107 PlaceHolder::PEL, in hostStateChangeCallBack() 133 PlaceHolder::PEL, in registerAssetTagChangeCallback() 186 PlaceHolder::PEL, in assetTagChangeCallback() 231 PlaceHolder::PEL, in registerPresenceChangeCallback() 279 PlaceHolder::PEL, in presentPropertyChangeCallback() 333 EventLogger::getErrorMsg(l_ex), PlaceHolder::PEL, in registerCorrPropCallBack() 441 EventLogger::getErrorMsg(l_ex), PlaceHolder::PEL, in correlatedPropChangedCallBack() 601 l_msg, PlaceHolder::PEL, in updateCorrelatedProperty()
|
| H A D | bios_handler.cpp | 215 PlaceHolder::PEL, in biosAttributesCallback() 408 PlaceHolder::PEL, in saveFcoToBios() 476 PlaceHolder::PEL, in saveAmmToVpd() 507 PlaceHolder::PEL, in saveAmmToBios() 565 PlaceHolder::PEL, in processActiveMemoryMirror() 679 PlaceHolder::PEL, in saveCreateDefaultLparToBios() 825 PlaceHolder::PEL, in saveClearNvramToBios() 966 PlaceHolder::PEL, in saveKeepAndClearToBios()
|
| /openbmc/openbmc-test-automation/docs/ |
| H A D | openbmc_test_tools.md | 192 peltool is an open-source platform event log(PEL) tool generally used to view 198 OpenBMC PEL Tool 203 --file TEXT Display a PEL using its Raw PEL file 204 -i,--id TEXT Display a PEL based on its ID 205 --bmc-id TEXT Display a PEL based on its BMC Event ID 213 -d,--delete TEXT Delete a PEL based on its ID 216 -x Display PEL(s) in hexdump instead of JSON
|
| /openbmc/openpower-vpd-parser/wait-vpd-parser/src/ |
| H A D | inventory_backup_handler.cpp | 77 vpd::PlaceHolder::PEL, in restoreInventoryBackupData() 105 vpd::PlaceHolder::PEL, in clearInventoryBackupData()
|