commit | 4a959840ae6f08cde2ae24c129647e7136f1bbb0 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Thu Sep 30 02:55:52 2021 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Thu Apr 27 09:09:00 2023 -0500 |
tree | f151d9986d3b8f6f281af437d9f7a7fb6744b5bd | |
parent | 830a6d47b060687a45a6c5694d052bf3d5e659e9 [diff] |
OpenPOWER: Add support for Hostboot dump. Hostboot dump is a dump created during the boot failure on OpenPOWER based systems. The dump get extracted from Self Boot Engine(SBE) with the openpower-dump-manager application. That application will call into phosphor-dump-manager to create a dump with the data collected from each SBE in the system. Role of phosphor-debug-collector hostboot dump manager - Create the hostboot dump package directory - Create hostboot dump entry - Implement notify interface to get notified when the collection is completed - Once notified collect each file from the predefined location and package it into a dump. - Update the hostboot dump entry with details once dump packaging is completed. Tested: - Create a dump entry with busctl - create a dummy file in search path - Call notify with busctl Signed-off-by: Dhruvaraj Subhshchandran <dhruvaraj@in.ibm.com> Change-Id: I2dab3b7ca976ed33184f770722cca00b1b02c075
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