tree: 17301982ff32ed80b2cda84046827bb6f97eb518 [path history] [tgz]
  1. additional_data.hpp
  2. bcd_time.cpp
  3. bcd_time.hpp
  4. data_interface.cpp
  5. data_interface.hpp
  6. entry_points.cpp
  7. failing_mtms.cpp
  8. failing_mtms.hpp
  9. log_id.cpp
  10. log_id.hpp
  11. manager.cpp
  12. manager.hpp
  13. mtms.cpp
  14. mtms.hpp
  15. openpower-pels.mk
  16. paths.cpp
  17. paths.hpp
  18. pel.cpp
  19. pel.hpp
  20. pel_types.hpp
  21. pel_values.cpp
  22. pel_values.hpp
  23. private_header.cpp
  24. private_header.hpp
  25. README.md
  26. registry.cpp
  27. registry.hpp
  28. repository.cpp
  29. repository.hpp
  30. section.hpp
  31. section_header.hpp
  32. stream.hpp
  33. user_header.cpp
  34. user_header.hpp
extensions/openpower-pels/README.md

OpenPower Platform Event Log (PEL) extension

This extension will create PELs for every OpenBMC event log. It is also possible to point to the raw PEL to use in the OpenBMC event, and then that will be used instead of creating one.

Passing PEL related data within an OpenBMC event log

An error log creator can pass in data that is relevant to a PEL by using certain keywords in the AdditionalData property of the event log.

AdditionalData keywords

RAWPEL

This keyword is used to point to an existing PEL in a binary file that should be associated with this event log. The syntax is:

RAWPEL=<path to PEL File>
e.g.
RAWPEL="/tmp/pels/pel.5"

The code will assign its own error log ID to this PEL, and also update the commit timestamp field to the current time.

_PID

This keyword that contains the application's PID is added automatically by the phosphor-logging daemon when the commit or report APIs are used to create an event log, but not when the Create D-Bus method is used. If a caller of the Create API wishes to have their PID captured in the PEL this should be used.

This will be added to the PEL in a section of type User Data (UD), along with the application name it corresponds to.

The syntax is:

_PID=<PID of application>
e.g.
_PID="12345"

The PEL Message Registry

D-Bus Interfaces