History log of /openbmc/ibm-logging/callout.cpp (Results 1 – 9 of 9)
Revision Date Author Comments
# 6a2b8956 10-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

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

show more ...


# 8123a713 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: I768b8efcac262ef07cf75f06486c6144c090e91a

show more ...


# c0763620 05-Apr-2022 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: object: don't use 'bool' argument constructor

`sdbusplus::server::object_t` has long had an enum-based parameter for
signal action, but maintained a backwards compatible boolean mapping.

sdbusplus: object: don't use 'bool' argument constructor

`sdbusplus::server::object_t` has long had an enum-based parameter for
signal action, but maintained a backwards compatible boolean mapping.
It is time to remove this boolean to make it more observable which
actions are being used in applications. Map all `true` occurrences to
`action::defer_emit`.

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

show more ...


# bf9ea8ad 06-Oct-2021 Patrick Williams <patrick@stwcx.xyz>

catch exceptions as const

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


# b5af3a3f 13-May-2020 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: remove deprecated variant_ns

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


# f5866e70 12-Nov-2018 William A. Kennington III <wak@google.com>

Fixup std::variant usage

This change refactors mapbox::variant specific usage onto an API that
mapbox::variant and std::variant both support.

Tested:
Run through unit tests.

Change-Id: Ic35953

Fixup std::variant usage

This change refactors mapbox::variant specific usage onto an API that
mapbox::variant and std::variant both support.

Tested:
Run through unit tests.

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

show more ...


# 66e07073 12-Sep-2018 Matt Spinler <spinler@us.ibm.com>

clang-format updates

Run with clang-format-6.0 and update to latest .clang-format
as listed in the docs repository.

Change-Id: I40fb686cc66adf56b2c1b5277ac1c44b64b89349
Signed-off-by: Matt Spinler

clang-format updates

Run with clang-format-6.0 and update to latest .clang-format
as listed in the docs repository.

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

show more ...


# ef3b86f2 23-May-2018 Matt Spinler <spinler@us.ibm.com>

Add serialization to the Callout class

Adding serialize() and deserialize() APIs to the callout
class to save and restore the class data persistently.

The APIs take the directory to store the files

Add serialization to the Callout class

Adding serialize() and deserialize() APIs to the callout
class to save and restore the class data persistently.

The APIs take the directory to store the files in, and the
filename itself will be the ID, which is the callout number.

For example, a path could be:
/var/lib/ibm-logging/errors/5/callouts/0.

Tested: Passes the testcases in future commit.

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

show more ...


# 23818bb0 23-May-2018 Matt Spinler <spinler@us.ibm.com>

Add Callout class

This class will be used to put a hardware callout object
on D-Bus that shows the serial number and part number information
for what is being called out in an error log.

It will re

Add Callout class

This class will be used to put a hardware callout object
on D-Bus that shows the serial number and part number information
for what is being called out in an error log.

It will remain even after that part is replaced with a new part with
a new SN, so the data needs to be persisted as opposed to being
looked up in the inventory on startup. The persisting will be
done in a future commit. Note it will also survive an error log
being resolved, which would delete the inventory assocation interface
on the error log.

The object path of the callout objects will look something like
/xyz/openbmc_project/logging/entry/5/callouts/0, where this would be
the first callout on error log 5.

Tested: N/A - not used yet

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

show more ...