#
9052ebd3 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: Ic68b91e23738cafe198c50f40e46d4163bda02b6 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
5b4357da |
| 12-Oct-2022 |
Kallas, Pawel <pawel.kallas@intel.com> |
add Associations endpoints change delay timer
When multiple associations that point to the same interface are created, each change (adding or removing one) leads to updating "endpoints" property on
add Associations endpoints change delay timer
When multiple associations that point to the same interface are created, each change (adding or removing one) leads to updating "endpoints" property on dbus. This property update is time consuming with many endpoints already present, because each update needs to send the whole list of current elements plus/minus one. With a lot of changes in short time it can cause the service to be unresponsive. This change adds timer to delay updating dbus property. This way many associations updates can be aggregated into single dbus property update.
Tested: Ran on hardware with dbus sensor tester. 4000 created sensors with interfaces are processed within 10 seconds. Time before the change was above 2 minutes.
Signed-off-by: Kallas, Pawel <pawel.kallas@intel.com> Change-Id: I1083c027ab12238249cffc67fb29a8ffef6baf83
show more ...
|
#
1e94e60b |
| 02-Jun-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
mapper: remove configurable service allowlists
Remove the ability to specify an allow list at runtime. Instead, introspect any DBus service except those that start with org.freedesktop. This remov
mapper: remove configurable service allowlists
Remove the ability to specify an allow list at runtime. Instead, introspect any DBus service except those that start with org.freedesktop. This removes the need for argument parsing code and complex bitbake metadata.
Skip org.freedesktop because applications (OpenBMC or otherwise) should access org.freedesktop services directly and not indirectly via the OpenBMC mapper.
Change-Id: I83038a121580dcde2a2b3b1f994b3066cc9d955f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
d554232b |
| 02-Jun-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
mapper: remove service deny list feature
This feature has existed for years, but remains unused. Drop the dead code.
Change-Id: I1b0b6f7fee0da30a3e36e1d151e70e1039fe2c7b Signed-off-by: Brad Bishop
mapper: remove service deny list feature
This feature has existed for years, but remains unused. Drop the dead code.
Change-Id: I1b0b6f7fee0da30a3e36e1d151e70e1039fe2c7b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
a098a37a |
| 05-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
style: comply with OpenBMC style guidelines
Change-Id: I72f86c59a0502777c861de901907c0a556c4c6c5 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
|
#
f944a450 |
| 05-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
naming: be inclusive
Adhere to the project inclusive naming guidelines and also adhere to the OpenBMC style guidelines.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I5a365049
naming: be inclusive
Adhere to the project inclusive naming guidelines and also adhere to the OpenBMC style guidelines.
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: I5a365049b6fb27236dd55c8455fe13a4a9e7fd31
show more ...
|
#
2352088e |
| 26-May-2022 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
clang-format: update to OpenBMC latest
Ignore libmapper, because it is written in C and the CPP style guidelines are not appropriate.
Ignore subprojects; they can validate their formatting themselv
clang-format: update to OpenBMC latest
Ignore libmapper, because it is written in C and the CPP style guidelines are not appropriate.
Ignore subprojects; they can validate their formatting themselves.
Change-Id: Id88dcc49f4176c6443e7f53ca193ca8f3e83a51f Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
show more ...
|
#
2bb2d6ba |
| 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: Ifc7c680ca196882d890d8b7061fe56428285c276
|
#
d0cf9428 |
| 17-Sep-2019 |
John Wang <wangzqbj@inspur.com> |
Drop support for old association interface A new association interface is defined in phosphor-dbus-interfaces It would be nice to move the local version of the interface to the new o
Drop support for old association interface A new association interface is defined in phosphor-dbus-interfaces It would be nice to move the local version of the interface to the new one. The behavior of how association work is described here: https://github.com/openbmc/docs/blob/master/object-mapper.md#associations I did some searching and confirmed that all the old interfaces (except the openbmc/pyphosphor, but we have removed support for python) should have been removed, so drop the support for the old interface here. Partially resolves openbmc/openbmc#3584 In addition, when I commited this change, ci reported code format error: @libmapper/mapper.h -int mapper_wait_async(sd_bus*, sd_event*, char* [], void (*)(int, void*), void*, +int mapper_wait_async(sd_bus*, sd_event*, char*[], void (*)(int, void*), void*, Fixed that. Signed-off-by: John Wang <wangzqbj@inspur.com> Change-Id: I0c2d0458a3f55f4671b91f6492e7218ecc3df4aa
show more ...
|
#
e2359fb7 |
| 05-Apr-2019 |
Matt Spinler <spinler@us.ibm.com> |
Gather association maps into a single structure The AssociationOwners and AssociationIntefaces maps are passed around separately in the mapper, but usually they are always used together.
Gather association maps into a single structure The AssociationOwners and AssociationIntefaces maps are passed around separately in the mapper, but usually they are always used together. Gather them into a structure to make it easier to write code to use them, especially because soon there will be another entry in it. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ibd5b622c7c1240ff8e23846368cbfd56e5bba24d
show more ...
|
#
35396c10 |
| 05-Apr-2019 |
Matt Spinler <spinler@us.ibm.com> |
Move common types into a common header Upcoming commits will have code that references some of these types in more files so it makes sense to have them in a common place. Si
Move common types into a common header Upcoming commits will have code that references some of these types in more files so it makes sense to have them in a common place. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I92adbefdd4bcfdb5d8d7e30b7fdf0fa03c739d2a
show more ...
|
#
8f876a5a |
| 15-Apr-2019 |
Matt Spinler <spinler@us.ibm.com> |
Support the new association defs interface An xyz.openbmc_project version of the org.openbmc_project.Associations interface was just created: xyz.openbmc_project.Association.Defi
Support the new association defs interface An xyz.openbmc_project version of the org.openbmc_project.Associations interface was just created: xyz.openbmc_project.Association.Definitions property: Associations Support this interface as well as the original org.openbmc one. Change-Id: Idc5a0e5afab51ec96f18a2759446707146b077d1 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
#
70461896 |
| 27-Feb-2019 |
Andrew Geissler <geissonator@yahoo.com> |
unit-test: Move processing of interfaces added Make it easier to unit test and continue reduction of main.cpp Change-Id: Id360255e1546eda026e5e6ef9f15d29dcc82caaa Signed-off-by:
unit-test: Move processing of interfaces added Make it easier to unit test and continue reduction of main.cpp Change-Id: Id360255e1546eda026e5e6ef9f15d29dcc82caaa Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
#
2067926a |
| 11-Feb-2019 |
Andrew Geissler <geissonator@yahoo.com> |
unit-test: Test deleting entry on name change Breaking off into a separate function enables easier unit testing of the specific function Testing: 97% coverage of processing.cpp
unit-test: Test deleting entry on name change Breaking off into a separate function enables easier unit testing of the specific function Testing: 97% coverage of processing.cpp Change-Id: I08f229657a8f44230b711fabbae20fb403792637 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
#
82815dac |
| 04-Feb-2019 |
Andrew Geissler <geissonator@yahoo.com> |
unit-test: Test need_to_introspect function Testing: Verified 100% code coverage of processing.cpp Change-Id: I5ebdebe3fdcecbf250a23754f8b5c7db81bfaaa3 Signed-off-by: Andrew Gei
unit-test: Test need_to_introspect function Testing: Verified 100% code coverage of processing.cpp Change-Id: I5ebdebe3fdcecbf250a23754f8b5c7db81bfaaa3 Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
#
3b025e69 |
| 01-Feb-2019 |
Andrew Geissler <geissonator@yahoo.com> |
unit-test: Introduce unit tests to phosphor-objmgr Move a function to make more testable and add a test case for it Testing: Verified 100% test coverage in processing.cpp C
unit-test: Introduce unit tests to phosphor-objmgr Move a function to make more testable and add a test case for it Testing: Verified 100% test coverage in processing.cpp Change-Id: I0a888009cfeb57bbc8ad295681bea00b79f2a23d Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|