commit | 7d3fced81c86eb84803b8d87dffebfa876fd5755 | [log] [tgz] |
---|---|---|
author | Marri Devender Rao <devenrao@in.ibm.com> | Wed Apr 27 05:19:44 2022 -0500 |
committer | Marri Devender Rao <devenrao@in.ibm.com> | Mon Nov 07 04:56:51 2022 -0600 |
tree | 2b15cb2f64d1daaab7957a0cc512ef93362a2a42 | |
parent | 0294370c7bd6a3c060f8a165e56bd07d91c7aeb0 [diff] |
dreport: add settings data to BMC dump Test case1 - busctl success Wed Apr 27 02:23:56 UTC 2022 INFO: Collected settings sh-5.1# ls -lah settings.log -rw-r--r-- 1 root root 46.3K Apr 27 02:23 settings.log sh-5.1# Test case2 - busctl failure Wed Apr 27 04:59:11 UTC 2022 ERROR: Failed to collect settings Wed Apr 27 04:59:11 UTC 2022 INFO: Copied settings /var/lib/phosphor-settings-manager/settings sh-5.1# du -sh settings 16.0K settings Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com> Change-Id: I2448a3108e0c6c1e6aa1eca49ebf6c76ed4664d9
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