#
2544b419 |
| 04-Oct-2022 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: update with latest
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I329396457b83bb2eb8740629b4ac1fbe9106bced
|
#
45e83521 |
| 22-Jul-2022 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ibc25db433a6926f7ee43ea83312c3ac14f480c33
show more ...
|
#
68603196 |
| 20-Jan-2022 |
Matt Spinler <spinler@us.ibm.com> |
Claim the D-Bus name after the extensions start
Move where the D-Bus name is claimed to after the startup functions of any extensions. This gives the extension code a chance to put objects on the b
Claim the D-Bus name after the extensions start
Move where the D-Bus name is claimed to after the startup functions of any extensions. This gives the extension code a chance to put objects on the bus before then just like how the normal Logging.Entry objects are done.
Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I643aa06f419660d1c4788699ee322ed21c558cf5
show more ...
|
#
66491c61 |
| 06-Oct-2021 |
Patrick Williams <patrick@stwcx.xyz> |
catch exceptions as const Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic8e6ade739bd5ea6e79cac6b9bb2b182748e10c8
|
#
5f285c53 |
| 27-Jul-2021 |
Patrick Williams <patrick@stwcx.xyz> |
log_manager: switch to lg2 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ic168870e68d74d990a2b04cf8b34a09f1eada046
|
#
b6b25575 |
| 19-May-2021 |
William A. Kennington III <wak@google.com> |
build: Use global variables instead of macros for test features We don't want the build to depend on recompiling objects for test separately from other executables. We can tweak settings
build: Use global variables instead of macros for test features We don't want the build to depend on recompiling objects for test separately from other executables. We can tweak settings via global variables instead. Change-Id: Ifdd078c2e381848ca1789934a36731eb8ceaf8b1 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
#
331c4857 |
| 16-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
filesystem: use non-experimental std::filesystem has replaced std::experimental::filesystem since at least C++17 and experimental no longer links without extra effort in C++20. Use
filesystem: use non-experimental std::filesystem has replaced std::experimental::filesystem since at least C++17 and experimental no longer links without extra effort in C++20. Use the C++17 std::filesystem APIs. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I33cfc22e04e435fcdca5bf83b5877a7a27c394c8
show more ...
|
#
f40323d0 |
| 16-Apr-2021 |
Patrick Williams <patrick@stwcx.xyz> |
fix various warnings Fix various warnings emitted by -Werror: - Unused parameters. - Excess semi-colons. - Missing initializer. Signed-off-by: Patrick W
fix various warnings Fix various warnings emitted by -Werror: - Unused parameters. - Excess semi-colons. - Missing initializer. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: Ifcdac2a66f9cc5f7d7e6571e139c0abdb1c86a8d
show more ...
|
#
8ebfd312 |
| 03-Jun-2019 |
Matt Spinler <spinler@us.ibm.com> |
Use sdeventplus Start using the sdeventplus event mechanisms so that future code can take advantage of it for things like timers and other events. Signed-off-by: Matt Spinler <s
Use sdeventplus Start using the sdeventplus event mechanisms so that future code can take advantage of it for things like timers and other events. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I6ffe80266257bfd3512a5b848c47f5ccfb5206e8
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 ...
|
#
f18bf836 |
| 26-Oct-2018 |
Patrick Venture <venture@google.com> |
add .clang-format Change-Id: I2c36b7886a25d0b235693b0776019d29608e1d52 Signed-off-by: Patrick Venture <venture@google.com>
|
#
05aae8bc |
| 30-Aug-2017 |
Nagaraju Goruganti <ngorugan@in.ibm.com> |
Add implementation for delete all error log entries in one shot Resolves openbmc/openbmc#1561. Change-Id: Iac5aaee1bdf9b87ccce9bf8801468ac5a8f9be6c Signed-off-by: Nagaraju Gorug
Add implementation for delete all error log entries in one shot Resolves openbmc/openbmc#1561. Change-Id: Iac5aaee1bdf9b87ccce9bf8801468ac5a8f9be6c Signed-off-by: Nagaraju Goruganti <ngorugan@in.ibm.com>
show more ...
|
#
72654f10 |
| 12-Jun-2017 |
Deepak Kodihalli <dkodihal@in.ibm.com> |
Persist error d-bus objects Use Cereal to implement serialization and de-serialization of properties of error d-bus objects. Serialize and persist error d-bus objects as they ar
Persist error d-bus objects Use Cereal to implement serialization and de-serialization of properties of error d-bus objects. Serialize and persist error d-bus objects as they are put on the bus. De-serialize and restore them (if persistent ones exist) when phosphor-log-manager starts up. Change-Id: I1f5df1abbe74bfdb86e3e82a78ff7115e90e2112 Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
show more ...
|
#
70bb6bcd |
| 21-Feb-2017 |
Adriana Kobylak <anoo@linux.vnet.ibm.com> |
Add ObjectManager to the root path of the log manager The ObjectManager needs to be added to the top most path of the dbus objects that it manages, so need to initialize it with Logg
Add ObjectManager to the root path of the log manager The ObjectManager needs to be added to the top most path of the dbus objects that it manages, so need to initialize it with Logging/ and it'd manage the Logging/Internal/ and Logging/Entry/ objects. Fixes openbmc/openbmc#1170. Change-Id: Ie659a2deaed2967ebca326a86b2e7fd7e637f784 Signed-off-by: Adriana Kobylak <anoo@linux.vnet.ibm.com>
show more ...
|
#
4ea7f312 |
| 10-Jan-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
Entry: Populate properties Create an Entry dbus object when Commit is called and fill in its properties with the journal data. Change-Id: I155cacbdfdccfa8b1f594503d858710fa71f20
Entry: Populate properties Create an Entry dbus object when Commit is called and fill in its properties with the journal data. Change-Id: I155cacbdfdccfa8b1f594503d858710fa71f2026 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
f477fe29 |
| 06-Jan-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
log_manager: Cleanup main function The design direction changed after the commit that added the log_manager main function, so updating it to the correct usage. Change-Id: I88459
log_manager: Cleanup main function The design direction changed after the commit that added the log_manager main function, so updating it to the correct usage. Change-Id: I88459fb65ba6b8272f0f9f85b55f9f837487ffea Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
#
c0f0532d |
| 12-Jan-2017 |
Adriana Kobylak <anoo@us.ibm.com> |
Update log manager busname to match its systemd unit file Change-Id: I9431b7d3df37fe92adaa9acb5172c8cfcdb38e4e Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|
#
8f7941ed |
| 14-Nov-2016 |
Adriana Kobylak <anoo@us.ibm.com> |
log_manager: Use sdbus++ Change-Id: Id2ad6a75b6ee3f7226c7cfd274dba24de89f9363 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
|