Collects debug data from the BMC for extraction.

Clone this repo:

Branches

  1. fa6a47b watch: fix memory leak in Watch class by Jian Zhang · 12 months ago master
  2. 41167a2 dreport: collecting all namespace journal logs by Jian Zhang · 3 months ago
  3. d56bab5 dreport: fix procfd missing by Jian Zhang · 7 months ago
  4. ffbb9d6 clang-tidy: filter out subproject headers by Patrick Williams · 5 weeks ago
  5. 2c63448 openpower-dumps: eliminate special generated config file by Patrick Williams · 5 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