commit | 830a6d47b060687a45a6c5694d052bf3d5e659e9 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed May 05 15:47:57 2021 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Thu Apr 27 09:09:00 2023 -0500 |
tree | 7365b45397b99d9c7730212420c7e256baeef588 | |
parent | 860b8a3af57aa89a745f33242e964fd5d02c9ed3 [diff] |
Split BMC dump manager to accomodate more locally stored dumps The BMC dump manager is having all infrastucure to manage locally stored dumps. To avoid code duplication while implementing other locally stored dumps, splitting the BMC dump manager into locally stored dump manager and BMC dump manager. Changes: Add a new base class bmc_stored::Manager for bmc::Manager new base class will have following functions - Store dump properties - create dump entry based on file watch. New class diagram will look like this |-------------| | base dump | | manager | |-------------| | |-------------| | BMC stored | | dump | | manager | |-------------| | ------------------------- | | |---------| |----------| | BMC | | New | | dump | | dump | | manager | | Manager | |---------| |----------| Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I02a8766113d030ba2f20bd98cb8713296d01eebe
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