commit | dbfd4667b2a53493bb6889a02a74e445ce3a50e9 | [log] [tgz] |
---|---|---|
author | Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> | Mon Sep 28 18:06:00 2020 +0200 |
committer | Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> | Wed Sep 30 06:33:23 2020 +0000 |
tree | 57015a3042f5db65e1c2e4288c93aab604f2bbfc | |
parent | 49a8ccd6713364e9e79ae6334c168aafb69991e0 [diff] |
Using reference to avoid copy With this commit a reference will be used during some structure binding to avoid copies. Tested: CPUSensors and PSUSensors launched on physical machine, no regression detected. Signed-off-by: Zbigniew Kurzynski <zbigniew.kurzynski@intel.com> Change-Id: I7aa270e440e9aadeca151acc6d9b73d7c4c4f40c
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