commit | 9f5573683be9dd78ad2be3cb163f46dba7d586d8 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed May 12 06:28:20 2021 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed Oct 12 05:40:47 2022 -0500 |
tree | 9ed7c3e6bf16b0615d236bb4a8edac94b5937c19 | |
parent | c1778dac509d6d7ae09214a2cca06c7af8b89e01 [diff] |
OpenPOWER: Clear system and resource dump entries while powering off The dumps like system and resource dumps are stored in host memory and that will be lost during a power off, so the entries in BMC dump-manager for those dumps will be stale after a power off. This commit adds a service to call deleteAll to clear the entries for system and resource dumps during system power off. Tests: 1 - Created a resource dump and system dump and activated the service Result: Both dump entries are cleared 2 - Created a resource dump and system dump powered off the system Result: Both dump entries are cleared Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I4e6a59ae852c86f5edbab767fb6a0ff2a4635289
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
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