commit | c1f5ed6fc7ad4ad30102ff98b016344379f0a9c5 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Sun Jul 09 04:31:28 2023 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed Aug 23 13:40:22 2023 -0500 |
tree | 5e6e53e54924c2682a718c62c867564865777243 | |
parent | 3b4e981d6155c24372d2832972bce444e6c05505 [diff] |
Generate dump types table This commit refines the map generation process in phosphor-debug-collector. The existing Python script is enhanced to accept varying templates and variable names, A new Mako template is introduced for generating dump types. This enhancement allows different architectures to support various types of dumps without requiring major changes. Tests: Successfully tested the creation of different types of BMC dumps. Built with master and p10bmc Change-Id: I347e218cb66386665bd15b72612dbe8e1e4fc7cf Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.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