commit | 0518b74d7e03186b1128a37947a4973be4df5ea6 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed May 31 14:58:47 2023 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Sat Jul 08 23:44:10 2023 -0500 |
tree | 945ba3ffc34a267f34c5efa8705d4146fe92961e | |
parent | ea632b81bcf03aa623d861ef5af002567cca9e30 [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