| commit | 734c41e92e7a67c310fb5429a330313d4e1d3db3 | [log] [tgz] |
|---|---|---|
| author | Amithash Prasad <amithash@meta.com> | Thu Oct 02 14:50:25 2025 -0700 |
| committer | Amithash Prasad <amithash@meta.com> | Thu Oct 16 16:21:13 2025 -0700 |
| tree | 3570f1f280964daab8b1296053e16d5973b2e1c7 | |
| parent | d5442fb45f1c08754c9e121d5a35aa85a0d7c15a [diff] |
dreport: Add support for multi-chassis BMCs Add support for BMCs which are capable of managing power to multiple chassis. This is done by maintaining the same code path supported for single chassis systems and adding a run-time check to detect multiple chassis. Tested: built into a Yosemite4 BMC (8-host system) and ran dreport to and ensured that the tarball contained `chassis0-state.log` to `chassis8-state.log`. Change-Id: Id5c2a85a7eae6ecd10dc9f2734c4b0c172f7c831 Signed-off-by: Amithash Prasad <amithash@meta.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