Collects debug data from the BMC for extraction.

Clone this repo:

Branches

  1. 4775095 use sdbusplus unpack syntax by Patrick Williams · 14 days ago master
  2. f28fcb4 meson.options: make dump-rotate-config kebab-case by Patrick Williams · 3 weeks ago
  3. 33c7ee0 beautysh: reformat by Patrick Williams · 2 weeks ago
  4. 734c41e dreport: Add support for multi-chassis BMCs by Amithash Prasad · 7 weeks ago
  5. d5442fb dreport: Fix incorrect use of return in main script body by Amithash Prasad · 7 weeks ago

phosphor-debug-collector

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

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.

To run unit tests

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