commit | ba6379336dccd7cc3e4ab244e8159a71bdea7801 | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Wed Mar 17 10:35:00 2021 +0800 |
committer | Ed Tanous <ed@tanous.net> | Wed Mar 31 17:35:27 2021 +0000 |
tree | 66dc59585f0f50242be6783a93c0f1beb5e919e7 | |
parent | dd68d4a7db823c9aafd2da1485718e9c89c5193b [diff] |
intrusionsensor: Use const reference for std::shared_ptr The code was passing non-const reference std::shared_ptr, which was not a good usage because it is to express that a function might reseat the shared pointer. Change the functions to pass const reference so that it expresses the correct information. Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I30d6fae90d7d79f8c170529da5dfa8c65b63f9df
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