commit | 7b2e5504f97744d635cfde1803fc7321628e8b18 | [log] [tgz] |
---|---|---|
author | selvaganapathi <selvaganapathim@ami.com> | Tue Feb 14 07:10:47 2023 +0530 |
committer | selvaganapathim <selvaganapathim@ami.com> | Fri Mar 17 13:16:36 2023 +0000 |
tree | 3cf999134bdf733ea71b5665940a987022baecde | |
parent | 55cbf552439fc440ff12299e9cb1b8d485207b36 [diff] |
Add compact sensor data record and fix sdr count Description - Commit added compact sensor data record structure - Total sdr count from get sdr list and get device sdr info mismatch - Fixed by added condtion to check fru data record, type12 record and sdrcount increamented - Also added condition for compact sensor data record count - get device sdr info command, keep reading record in while. As "getSensorDataRecord" handler function adds record in end, everytime record vector keeps growing. So get device info command keep reading the same record and end up with wrong sdr count - Changed code to add record in begin everytime Tested Successfully built and tested in reference platform. SDR count from both get sdr list and get device sdr info matches. $ ipmitool raw 0x04 0x20 0x01 e6 81 7d 01 00 00 $ ipmitool sdr elist all | wc -l 230 $ ipmitool raw 0x04 0x20 0x00 c8 81 7d 01 00 00 $ ipmitool sensor list | wc -l 200 Change-Id: Ifd76a53485de8d92af955e2bb4d4268b3e891110 Signed-off-by: selvaganapathi <selvaganapathim@ami.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