commit | 5d8f570bdc264d7447ee2fc0fb6f134c1a3780f8 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Mar 06 10:24:04 2019 -0800 |
committer | Patrick Venture <venture@google.com> | Wed Mar 06 13:18:56 2019 -0800 |
tree | e49cea96e04461b6e653cf5e45765ea6a2d58e49 | |
parent | 56c876f3a108f4f4fdbe13898ac3ba47b98b9a20 [diff] |
test: rework gtest/gmock lookup Rework the gtest/gmock lookup based on openbmc/gpioplus. Change-Id: Ic53928e6f8b7a30e801976d62c910fe31bd4cc49 Signed-off-by: Patrick Venture <venture@google.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.