commit | 94adf6852565a470154335edb31b55bcf669a03f | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed May 31 14:58:47 2023 -0500 |
committer | Jayanth Othayoth <ojayanth@gmail.com> | Mon Jul 17 13:35:55 2023 +0000 |
tree | 8826c79405ca9955edaaf9e6669d0963f6d395df | |
parent | deed959ef1fe01ab74e6b32c19f0495e8bceb4ad [diff] |
Move generated error map to cpp file This commit changes the generation location of error map from a header file (.hpp) to a source file (.cpp). This change enhances code organization, separates declaration from implementation. In an upcoming change, retaining the map in the header file results in a duplicate definition error. Therefore, to avoid these errors and ensure smooth future updates, the error map needs to be generated in the .cpp file. Tests: Created error log dumps by commiting InternalFailure Change-Id: I01e4503e24ebf9045793014060107cca4ff440ad 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