| commit | a55e9ea110a9100abd5d36c59b0040ecf149dd4b | [log] [tgz] |
|---|---|---|
| author | Lei YU <yulei.sh@bytedance.com> | Sat Sep 18 15:15:17 2021 +0800 |
| committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Jan 12 00:40:22 2022 +0000 |
| tree | 681e217ce2039053dab0c1635987f5a832708da7 | |
| parent | 9714050f9650675694b1f6f3070f54dc3b22ef2b [diff] |
sensor-cache: Read sensor data when there is no cache
When IPMI starts and the sensor has no match callback, the sensor cache
is empty. Read the sensor data in such case and cache it.
Tested: Verify the sensor list works as expected, the first sensor
list takes longer time, and the following sensor list takes less
time because of the cache.
Signed-off-by: Lei YU <yulei.sh@bytedance.com>
Change-Id: Icc33185b93cf21462584b3817b7c522e24b70baf
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.