History log of /openbmc/ibm-logging/dbus.hpp (Results 1 – 12 of 12)
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 ...


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

sdbusplus: replace message::variant with std::variant

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


# 7766e25b 12-Sep-2018 Matt Spinler <spinler@us.ibm.com>

Fix GetSubTree depth argument type

GetSubTree takes an integer for the depth, and not a size_t.
The upcoming mapper implementation needs it correct.

Tested: No longer throws an

Fix GetSubTree depth argument type

GetSubTree takes an integer for the depth, and not a size_t.
The upcoming mapper implementation needs it correct.

Tested: No longer throws an exception with the fix.

Change-Id: I9bda8872bf26a67a7edf9ff818d36b13a750def0
Signed-off-by: Matt Spinler <spinler@us.ibm.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
Sign

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 ...


# 3e71c977 04-Jun-2018 Matt Spinler <spinler@us.ibm.com>

Merge "Use s.c_str() in log messages"


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

Create the Callout objects

If a new error log has the association interface, and the
inventory item it points to implements the Asset interface,
create a Callout object for it and pe

Create the Callout objects

If a new error log has the association interface, and the
inventory item it points to implements the Asset interface,
create a Callout object for it and persist it.

It will be persisted to a file like:
/var/lib/ibm-logging/errors/N/callouts/M where N is an error
log entry ID and M is the callout instance number.

Tested: Verify new D-Bus objects for callouts.

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

show more ...


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

Add getSubtree and getAllProperties functions

These will be used to get callout information from
the inventory.

Also added a helper function getService to find a service
nam

Add getSubtree and getAllProperties functions

These will be used to get callout information from
the inventory.

Also added a helper function getService to find a service
name in the GetSubtree data based on an object
path and interface name.

Tested: The functions work when called in future commit.

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

show more ...


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

Add function prologue for getManagedObjects

Tested: N/A

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


# 259e7277 29-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Enable clang-format

Ideally would have done this from the beginning,
but better later than never.

Change-Id: Ib4c73085c4817496c9f2ee505c19149a67b394dc
Signed-off-by: Matt Sp

Enable clang-format

Ideally would have done this from the beginning,
but better later than never.

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

show more ...


# bc997490 27-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Add getManagedObjects helper function

This will return all of the interfaces and
properties on an object. It will be used on
startup of the application to check for existing
err

Add getManagedObjects helper function

This will return all of the interfaces and
properties on an object. It will be used on
startup of the application to check for existing
error logs.

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

show more ...


# e0017ebb 27-Mar-2018 Matt Spinler <spinler@us.ibm.com>

Add Manager class

This class will hold the IBM interface objects.

It has callbacks on the interfaces added and removed
signals for the actual logging entries so it knows when

Add Manager class

This class will hold the IBM interface objects.

It has callbacks on the interfaces added and removed
signals for the actual logging entries so it knows when
to add and remove the IBM interface objects.

It can hold multiple interface objects per logging entry
by using a map of std::experimental::any objects.

Future commits will add more functionality, such as doing
the actual creation of the interface objects and checking
for existing error logs entries on startup.

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

show more ...