commit | 7e276658d0a0783eb51303995db1a72daaadc4a2 | [log] [tgz] |
---|---|---|
author | Patrick Venture <venture@google.com> | Wed Mar 13 08:17:03 2019 -0700 |
committer | Patrick Venture <venture@google.com> | Thu Mar 21 17:41:15 2019 +0000 |
tree | 8e33f63365a2ad565fedba16e22c3365ca6a8eb1 | |
parent | 2e476ac3563776b5320cf33f8fe05c5ac539c3a6 [diff] |
build: enable valgrind Enable valgrind to check memory usage. Change-Id: I73ec2ee1a92e797ea9b78d6ea440f9ccdd2f49f3 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.