commit | 5e034afc7ac41630f075feda6bbeade1052ed27e | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Wed Jun 24 15:21:53 2020 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Wed Jun 24 15:23:44 2020 -0500 |
tree | 773a780c6d4f6f4048cc63fd63519fd0517c18f5 | |
parent | 5906173aec2a48f37d1356f1ade788c8d25530b2 [diff] |
Print the failing filename in the journal msg Instead of hiding the name of the file that had the failed access in the journal metadata, put it in the journal message so debug is easier. Uses the fmt library. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ice3958ffb576adf0b06ef7eab7d2fc03aa526819
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.