commit | 30eb03f3d5054088727f3065e367266b2a82b31d | [log] [tgz] |
---|---|---|
author | Ed Tanous <edtanous@google.com> | Wed Jan 26 16:51:00 2022 -0800 |
committer | Ed Tanous <ed@tanous.net> | Mon Jan 31 20:55:07 2022 +0000 |
tree | da98609ced2b711a3cbb8f420336f4b96808c8e6 | |
parent | f69fbf998745bf006748c3b6ba6558443b560d21 [diff] |
Remove redundant empty check Checking a vector for empty, then immediately iterating it doesn't change anything. An empty vector will just return immediately. Tested: No-OP Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: Ibf8b3e5c6481bbd17d24b9b5a43320ebac4b79f4
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