commit | 04b0b0799e8417c37024fc24787c2a9f28d8c0de | [log] [tgz] |
---|---|---|
author | Johnathan Mantey <johnathanx.mantey@intel.com> | Tue Oct 10 12:30:35 2023 -0700 |
committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Apr 03 22:30:29 2024 +0000 |
tree | 1ab7e3cba235f7eb7cf888b5047499b45076dd81 | |
parent | 50f186c104bd7ac7293e737833b4443137ad2761 [diff] |
Enable reducing the number of sensors managed by IPMI IPMI is only able to support a finite amount of SDR records. Modern servers are capable of exceeding the number of sensors the IPMI specification can support. The change made in this commit filters sensors from a service based upon contents in a JSON configuration file. Tested: Confirmed the default compile resulted in too many sensors being created. Added the 'sensor_filter.json' file and confirmed the number of sensors was reduced, and 'ipmitool sdr list' no longer exhibited error messages. Change-Id: I3643e06abbb8708d3f4000f35c79be8901e34057 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