#
d763db35 |
| 03-Sep-2024 |
harsh-agarwal1 <harsh.agarwal@ibm.com> |
PEL: Prevent deletion if it's associated with HWIsolation
- This ensures that PELs linked to HWIsolation records are protected from accidental deletion. - Shows error message of "Call failed: The se
PEL: Prevent deletion if it's associated with HWIsolation
- This ensures that PELs linked to HWIsolation records are protected from accidental deletion. - Shows error message of "Call failed: The service is temporarily unavailable.", when attempting to delete such a PEL individually. - If trying to Delete all, will skip such PELs without showing any message.
Tested: Sample output: ```bash $ busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/ logging xyz.openbmc_project.Collection.DeleteAll DeleteAll
$ busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/ logging/entry/2 xyz.openbmc_project.Object.Delete Delete Call failed: The service is temporarily unavailable.
``` Change-Id: I2d28de91bbb0fbc2a991e3d5e5631814d41fe044 Signed-off-by: Harsh Agarwal <Harsh.Agarwal@ibm.com>
show more ...
|
#
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 try and use
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-root or without a full
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 created without incu
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 ...
|