commit | 532c8649e5fae4b998e22032940082c0c5b58334 | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Fri Jan 14 09:48:15 2022 -0800 |
committer | Ed Tanous <ed@tanous.net> | Tue Jan 18 17:56:18 2022 +0000 |
tree | 44e55f1374b4a084821f5d3abfda29013ac8fa3d | |
parent | a771f6a70980687ca8bdd0a86963279780bc18c3 [diff] |
Enable cppcoreguidelines-avoid-c-arrays We only had one pretty trivial use of a C array in dbus-sensors. Replace that with std::array, and enable the checks. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I5ecbfa07a7f46977dc3ccbde3c4b385e95b6a730
dbus-sensors is a collection of sensor applications that provide the xyz.openbmc_project.Sensor collection of interfaces. They read sensor values from hwmon, d-bus, or direct driver access to provide readings. Some advance non-sensor features such as fan presence, pwm control, and automatic cpu detection (x86) are also supported.
runtime re-configurable from d-bus (entity-manager or the like)
isolated: each sensor type is isolated into its own daemon, so a bug in one sensor is unlikely to affect another, and single sensor modifications are possible
async single-threaded: uses sdbusplus/asio bindings
multiple data inputs: hwmon, d-bus, direct driver access