Collects debug data from the BMC for extraction.

Clone this repo:

Branches

  1. 8e81499 dreport: hoist create_archive out of branches by William de Abreu Pinho · 8 days ago master
  2. c85df9c dreport: fix shellcheck warnings in dreport by William de Abreu Pinho · 10 days ago
  3. 2b8c2f0 dreport: fix shellcheck warnings in functions by William de Abreu Pinho · 11 days ago
  4. d8af698 dreport: fix SC2154 shellcheck warning in plugins by William de Abreu Pinho · 14 days ago
  5. e5af9c6 dreport: fix SC2086 shellcheck info in plugins by William de Abreu Pinho · 14 days 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