History log of /openbmc/phosphor-logging/extensions.cpp (Results 1 – 3 of 3)
Revision Date Author Comments
# aeccabc4 19-May-2021 William A. Kennington III <wak@google.com>

extensions: Deterministic global construction ordering

Right now, we have an issue where the global variables owned by
extensions.cpp are not necessarily constructed before other objects

extensions: Deterministic global construction ordering

Right now, we have an issue where the global variables owned by
extensions.cpp are not necessarily constructed before other objects try
and use them in their own global constructors. We need to gate access on
functions that guarantee the object is constructed before it is used.

Change-Id: I71f88a901c21b9121a25e3ccd365d2a74a9be709
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# a517197d 16-Apr-2021 Patrick Williams <patrick@stwcx.xyz>

build: meson support for unit tests

Add support for building and running existing unit tests
under meson.

Fix a few test case failures that might surface from running
as non

build: meson support for unit tests

Add support for building and running existing unit tests
under meson.

Fix a few test case failures that might surface from running
as non-root or without a full OpenBMC set of applications.

Fixes: openbmc/phosphor-logging#11

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I588c0b7d8dcdc60b9a03fee0b5d373d0023b0530

show more ...


# 99c2b405 23-May-2019 Matt Spinler <spinler@us.ibm.com>

OpenPower PEL Extension support framework

The goal of extensions is to extend phosphor-logging's
`xyz.openbmc_project.Logging.Entry` log support to allow other log
formats to be crea

OpenPower PEL Extension support framework

The goal of extensions is to extend phosphor-logging's
`xyz.openbmc_project.Logging.Entry` log support to allow other log
formats to be created without incurring extra D-Bus call overhead.

The README.md change in this commit provides additional documentation on
how extensions work. The summary is that they allow code that resides
in this repository to provide functions that can be called at certain
points (startup, log creation/deletion) such that the code can then
create their own logs based on the contents of an OpenBMC log. A
specific extension's code is compiled in using a --enable configure
option, so platforms that did not use those log formats would incur no
performance/size penalties.

This commit provides the support for extensions, plus a basic OpenPower
PEL (Platform Event Log) extension as the first extension. PELs are
event logs used only on some OpenPower systems.

Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Change-Id: Ifbb31325261c157678c29bbebc7f6d32d282582f

show more ...