commit | 938588b02e0fd2c808cd88ad25e0d1c752514492 | [log] [tgz] |
---|---|---|
author | Jayanth Othayoth <ojayanth@gmail.com> | Thu Feb 06 06:50:54 2025 -0600 |
committer | Patrick Williams <patrick@stwcx.xyz> | Thu Feb 06 12:39:03 2025 -0500 |
tree | 39f5e229a44082428c675335c2c799b84cd83a13 | |
parent | 282c3c515b4135cac53b164316464140a6effbce [diff] |
clang-tidy: disable readability-suspicious-call-ar This commit disables the readability-suspicious-call-argument check in Clang-Tidy configuration to avoid false positives errors ''' ../dump-extensions/openpower-dumps/dump_manager_system.cpp:94:18: error: 2nd argument 'size' (passed to 'dumpSize') looks like it might be swapped with the 3rd, 'dumpId' (passed to 'sourceId') [readability-suspicious-call-argument,-warnings-as-errors] 94 | upEntry->update(timeStamp, size, dumpId); | ^ ~~~~ ~~~~~~ ../dump-extensions/openpower-dumps/system_dump_entry.hpp:78:10: note: in the call to 'update', declared here 78 | void update(uint64_t timeStamp, uint64_t dumpSize, const uint32_t sourceId) | ^ ~~~~~~~~ ~~~~~~~~ ''' Change-Id: I39ff4d4002373cee8c1a17f2c416c563d259a74a Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com>
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
One such mechanism is dreport, a script that collects debug data and packages it into an archive file.
To build this package with meson, do the following steps:
1. meson builddir 2. ninja -C builddir
To clean the built files run ninja -C builddir clean
.
Tests can be run in the CI docker container, refer local-ci-build
or with an OpenBMC x86 sdk(see below for x86 steps).
meson -Dtests=enabled build ninja -C build test