commit | 69a68eddc25381ca6bee24ab668ba67a975a1954 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Mar 06 10:37:30 2019 -0800 |
committer | Patrick Venture <venture@google.com> | Tue Mar 19 09:39:52 2019 -0700 |
tree | 2db5682c0b6d3d13143dcf711ce37778df77d42e | |
parent | 85ba64a653de3ede60a228f42f62dcf1ab55ca17 [diff] |
build: enable code coverage Enable code coverage for the project. Valgrind not enabled in this step. Tested: Verified code coverage step now running. Change-Id: Ieb3606e5ad741fb0dd181f8da594c18258efa6bc 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.