commit | 7b03727602014997c99e13614304ff53782ec807 | [log] [tgz] |
---|---|---|
author | Johnathan Mantey <johnathanx.mantey@intel.com> | Mon Jun 17 12:12:40 2024 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Jul 03 20:24:34 2024 +0000 |
tree | 3498eb39a3be67db538c7db3598ed979b51a49f4 | |
parent | 73d077787ac22dcd67d0bb53591457d8871982bb [diff] |
Add ability to add 'energy' sensor Type 01 records Allow the getSensorTypeFromPath to create Type 01 records for D-Bus entries with 'energy' in their path name. Energy sensors are 'Other Unit-based sensors' and are considered to be 'threshold' sensors. The unit of measure is 'joules'. Tested: Confirmed sensors with the 'energy' string preceding the sensor name generated a Type 01 record with the Sensor Type == 0xb, and the Event Reading type set to 0x01. The record also set the Sensor Units 2 entry to 0x07 to indicate the unit of measure is in joules. Change-Id: I6ca9027e1ff2a8ad58640f851a9bd9f102ba55e9 Signed-off-by: Johnathan Mantey <johnathanx.mantey@intel.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage