commit | 1ddb006b8bbb8294c402fe774e077528fd54d7fd | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Fri May 06 06:21:11 2022 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed Jun 21 06:14:51 2023 -0500 |
tree | 6f800ed2728259676904e556d8fee11a0ebb06a3 | |
parent | 9e905375839213e15e0ef47f1ee0e514cf2d1167 [diff] |
OpenPOWER: Limit User-Requested System Dumps System dumps can be several gigabytes in size. To conserve space, only one dump is stored at a time. When a new dump is requested, the existing dump will be discarded while creating a new one. In the case of system-generated dumps, which are triggered by critical errors, it is permissible to initiate a new dump even if an existing dump is already present in the host memory This commit adds a restriction on initiating new user-requested system dumps while a system dump is in progress or if one is already stored in host memory. New user-requested system dumps will be allowed once the existing dump is deleted or offloaded. This change applies only to user-requested dumps and does not impact system generated dumps. Test: - Initiate system dump when another dump in progress and verified a Unavailable was returned - Force a system generated system dump when one dump is present a Unavailable was returned Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I4598912b0761669859f84a43ab4c60f47664b1e6
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