Name Date Size #Lines LOC

..Today-

dump-extensions/H30-Nov-2023-1,235878

host-transport-extensions/H07-Mar-2021-482311

subprojects/H20-Jun-2024-4533

test/H28-Feb-2024-11498

tools/dreport.d/H07-Mar-2021-1,9771,158

.clang-formatH A D20-Aug-20243.7 KiB137135

.gitignoreH A D05-Oct-202142 43

.shellcheck-ignoreH A D27-Jun-20231.3 KiB3736

LICENSEH A D07-Mar-202111.1 KiB202169

OWNERSH A D01-Dec-20231.8 KiB5752

README.mdH A D23-Jun-2023780 3120

bmc_dump_entry.cppH A D20-Jun-20241.7 KiB7154

bmc_dump_entry.hppH A D20-Jun-20245.8 KiB17093

core_manager.cppH A D11-Sep-20233.2 KiB10783

core_manager.hppH A D11-Sep-20232 KiB7843

core_manager_main.cppH A D14-Jun-20231.2 KiB5142

dump-extensions.hppH A D26-Jul-2022444 2211

dump_entry.cppH A D20-Jun-20245.2 KiB176139

dump_entry.hppH A D20-Jun-20245.6 KiB18696

dump_manager.cppH A D07-Mar-2021371 2621

dump_manager.hppH A D20-Aug-20242.2 KiB8340

dump_manager_bmc.cppH A D20-Aug-202411.1 KiB364287

dump_manager_bmc.hppH A D20-Jun-20244.2 KiB13562

dump_manager_faultlog.cppH A D20-Aug-20243.6 KiB12394

dump_manager_faultlog.hppH A D15-Jun-20232.4 KiB8656

dump_manager_main.cppH A D11-Sep-20233.2 KiB11286

dump_offload.cppH A D20-Aug-20247.8 KiB233189

dump_offload.hppH A D14-Apr-2021528 2713

dump_serialize.cppH A D15-Jun-20231,022 4740

dump_serialize.hppH A D14-Apr-2021893 3619

dump_types.mako.cppH A D01-Sep-20233.3 KiB131113

dump_types.mako.hppH A D01-Sep-20233.8 KiB12448

dump_utils.cppH A D20-Jun-20242.3 KiB8366

dump_utils.hppH A D20-Aug-202412.3 KiB394257

elog_watch.cppH A D11-Sep-20235 KiB187150

elog_watch.hppH A D11-Sep-20232.8 KiB10450

example_dump_types.yamlH A D01-Sep-2023347 1312

example_errors_watch.yamlH A D09-Dec-202261 32

faultlog_dump_entry.cppH A D15-Jun-2023658 3424

faultlog_dump_entry.hppH A D22-Jun-20232 KiB6739

ffdcH A D27-Jun-20232.5 KiB9775

host_transport_exts.hppH A D07-Mar-2021472 2911

map_gen.pyH A D01-Sep-20231.5 KiB6650

meson.buildH A D20-Jun-202411 KiB314273

meson.optionsH A D11-Sep-20234 KiB130100

ramoops_manager.cppH A D14-Nov-20234.1 KiB137113

ramoops_manager.hppH A D14-Nov-20231 KiB5229

ramoops_manager_main.cppH A D14-Jun-2023479 2216

watch.cppH A D20-Aug-20243.1 KiB131101

watch.hppH A D14-Apr-20212.6 KiB10040

README.md

1# phosphor-debug-collector
2
3Phosphor Debug Collector provides mechanisms to collect various log files and
4system parameters. Used to troubleshoot problems in OpenBMC based systems.
5
6One such mechanism is [dreport](tools/dreport.d/README.md), a script that
7collects debug data and packages it into an archive file.
8
9## To Build
10
11To build this package with meson, do the following steps:
12
13```bash
14    1. meson builddir
15    2. ninja -C builddir
16```
17
18To clean the built files run `ninja -C builddir clean`.
19
20## To run unit tests
21
22Tests can be run in the CI docker container, refer
23[local-ci-build](https://github.com/openbmc/docs/blob/master/testing/local-ci-build.md)
24
25or with an OpenBMC x86 sdk(see below for x86 steps).
26
27```bash
28meson -Dtests=enabled build
29ninja -C build test
30```
31