commit | 95f77e623c1b84663fe62e4506d2291b6919a13d | [log] [tgz] |
---|---|---|
author | Michal Orzel <michalx.orzel@intel.com> | Mon Sep 16 11:06:42 2024 +0200 |
committer | Michal Orzel <michalx.orzel@intel.com> | Mon Sep 16 11:54:41 2024 +0200 |
tree | c02daa644d33df88dc3825be82ae0bf927ed4d67 | |
parent | f535cad6545d39fe58f50d0f23074359f43f8a03 [diff] |
Fix sanitizer issue Resolve heap-use-after-free issue that started appearing after googletest update. According to docs, AddGlobalTestEnvironment takes ownerwhip of an Environment object passed there and it's being destroyed at the end of RUN_ALL_TESTS function. [1] Therefore any further usage of that object will cause heap-use-after-free error. Tested: CI build passed [1] https://google.github.io/googletest/advanced.html#global-set-up-and-tear-down Change-Id: I517a7693a5692c4561de6a5e5ee8ebaf9d8cdc2d Signed-off-by: Michal Orzel <michalx.orzel@intel.com>
This component implements middleware for sensors and metrics aggregation.
This application is implementation of Telemetry proposed in OpenBMC design docs [1]
.
It's responsible for:
[2]
,[3]
updates.[4]
There are two way to build telemetry service:
To build it using bitbake follow the guide from OpenBMC docs[5]
. To build it using meson follow the quick guide to install meson[6]
and then run below commands
meson build
cd build
ninja
After successful build you should be able to run telemetry binary or start unit tests
./tests/telemetry-ut ./telemetry
In case if system is missing boost dependency, it is possible to build it locally and set BOOST_ROOT environment variable to location of built files for meson. After this change meson should be able to detect boost dependency. See [7]
for more details.
More information can be found in OpenBMC docs repository [8]
.