Collects debug data from the BMC for extraction.

Clone this repo:

Branches

  1. 454dee5 clang-format: re-format for clang-19 by Patrick Williams · 3 days ago master
  2. f7a5bf7 clang-tidy: Enable modernize-use-equals-default by Jayanth Othayoth · 4 weeks ago
  3. ad6fb6e clang-tidy: Enable modernize-use-nullptr by Jayanth Othayoth · 4 weeks ago
  4. 547dafa clang-tidy: Add modernize checks by Jayanth Othayoth · 4 weeks ago
  5. b913e07 clang-tidy: Enable readability-implicit-bool by Jayanth Othayoth · 4 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