commit | 15492e7488402d0a3ea7a7ee7ce7ea5e02989296 | [log] [tgz] |
---|---|---|
author | Kun Yi <kunyi731@gmail.com> | Mon Jul 15 22:04:34 2019 -0700 |
committer | Kun Yi <kunyi731@gmail.com> | Tue Jul 16 10:43:16 2019 -0700 |
tree | 7f9d5a2fb0012f46b0ac0a5167637644f9909cb6 | |
parent | 79205b2c1466f8ee7ab11dc976d33ac0771355ea [diff] |
[cleanup] sensor: Fix function declaration constness Add const qualifier to a couple of getter methods such that they can be used with a const reference object. Also, const bool doesn't make sense. Change-Id: Ib3127aba83c2f9c2479ada7078147358103188ff Signed-off-by: Kun Yi <kunyi731@gmail.com>
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance. This requires an algorithm for selecting a stable, well-known D-Bus busname. The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.