commit | 3c5def362ebdcfc75b110e723c321ca2b00a5b89 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Sun Jul 09 04:31:28 2023 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Sun Jul 16 07:34:11 2023 -0500 |
tree | 0c8b5b37db44e4ee1ab9ee53ff6e24b4d710d4dd | |
parent | b77b2b6d0927d4341d64e6ac06159ce8adad85ee [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. 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