#
a23af120 |
| 15-Aug-2022 |
Jian Zhang <zhangjian.3032@bytedance.com> |
Add init_priority to generated code
Fix a issue(crash) on `FEATURE_SENSORS_CACHE` is enabled. As below backtrace: ``` ... 4 0x75ff9a34 in initSensorMatches () at ../../../../../../workspace/sources
Add init_priority to generated code
Fix a issue(crash) on `FEATURE_SENSORS_CACHE` is enabled. As below backtrace: ``` ... 4 0x75ff9a34 in initSensorMatches () at ../../../../../../workspace/sources/phosphor-ipmi-host/sensorhandler.cpp:153 5 0x75f887a8 in register_netfn_sen_functions () at ../../../../../../workspace/sources/phosphor-ipmi-host/sensorhandler.cpp:1561 ... ```
This issue is caused by `ipmi::sensor::sensors` is not initialized when register_netfn_sen_functions is called. Add init_priority to generated code to fix this issue.
Tested: Build okay and no crash.
Signed-off-by: Jian Zhang <zhangjian.3032@bytedance.com> Change-Id: Ic5cc96206f3df9fafa10bbfb88c0bb4459749575
show more ...
|
#
31eed5c5 |
| 23-Mar-2020 |
Tom Joseph <tomjoseph@in.ibm.com> |
Switch to python3 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> Change-Id: I86ca25173c745442760eddd608ad48985cd46ee0
|
#
33250240 |
| 12-Mar-2019 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
move types.hpp to ipmid/types.hpp for export types.hpp is required by utility.hpp, which is exported, so it needs to be exported as well. This moves it to the include/libipmid directory,
move types.hpp to ipmid/types.hpp for export types.hpp is required by utility.hpp, which is exported, so it needs to be exported as well. This moves it to the include/libipmid directory, changes the Makefile to export it, and changes all the files that include it so it can be found in the right place. Change-Id: I30ec365446e4de466c266ec4faa327478460ec05 Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
show more ...
|
#
e19540e6 |
| 04-Feb-2019 |
Tom Joseph <tomjoseph@in.ibm.com> |
Revert "eSEL: Remove unused code related to logging eSEL" This reverts commit 54fad6de0541c2f98e9b511f1d30bbcbcd743db6. This commit is reverted because the mapping of D-Bus object p
Revert "eSEL: Remove unused code related to logging eSEL" This reverts commit 54fad6de0541c2f98e9b511f1d30bbcbcd743db6. This commit is reverted because the mapping of D-Bus object path to sensor information is still needed. The mapping is needed to serve the SEL commands which translate D-Bus logging objects to SEL entries. Change-Id: I2505299671db1f0bd7f116ef0e2ca4a0273eead8
show more ...
|
#
54fad6de |
| 28-Jan-2019 |
Tom Joseph <tomjoseph@in.ibm.com> |
eSEL: Remove unused code related to logging eSEL Change-Id: Ia9815102064d20795a44b8e6a7d8b324c280756c Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
|
#
dd78a1d0 |
| 05-May-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Write parser for inventory to sensor mapping yaml. Write python-based parser for inventory-sensor.yaml. The parser generates inventory-sensor-gen.cpp, which is contains a map contain
Write parser for inventory to sensor mapping yaml. Write python-based parser for inventory-sensor.yaml. The parser generates inventory-sensor-gen.cpp, which is contains a map containing the inventory object path as key and the sensor related info as the value. Change-Id: Ib0e0f61f075b0ba777417a8032074c9b66b2eef7 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|