commit | 3598158b90a69177f25f2ff6aab05c385c8fc987 | [log] [tgz] |
---|---|---|
author | Alexander Filippov <a.filippov@yadro.com> | Thu Jan 12 19:42:30 2023 +0300 |
committer | Alexander Filippov <a.filippov@yadro.com> | Thu Jan 12 20:56:31 2023 +0000 |
tree | 170f92b15e0aba53523190b3e221325b753e896b | |
parent | 5fd768d699d331418c85cd3b9762eac34c602ac2 [diff] |
dreport: remove unnecessary filed parts Generating a content of a report bundle may fail, but leave incomplete parts that increase the bundle size over the allowed limit. For example: On the BMC with very big uptime `journal-pretty.log` may overflow `/tmp` and lead to the bundle creation that even compressed is longer than `RWFS`. This prevents including such parts into the resulting bundle. Change-Id: I24b29eaaac730c39735da7a032400e95f0710ff5 Signed-off-by: Alexander Filippov <a.filippov@yadro.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