Name
Date
Size
#Lines
LOC

..--

dump-extensions/H--1,217863

host-transport-extensions/H--661448

subprojects/H--4533

test/H--117102

tools/dreport.d/H--1,9741,155

.clang-formatH A D01-Feb-20253.7 KiB137135

.clang-tidyH A D07-Feb-202512 KiB348345

.gitignoreH A D01-Oct-202142 43

.shellcheck-ignoreH A D19-Jun-20231.3 KiB3736

LICENSEH A D18-Jan-201711.1 KiB202169

OWNERSH A D30-Nov-20231.8 KiB5752

README.mdH A D21-Jun-2023780 3120

bmc_dump_entry.cppH A D02-Jun-20241.7 KiB7154

bmc_dump_entry.hppH A D25-Nov-20245.8 KiB16892

core_manager.cppH A D31-May-20233.2 KiB10783

core_manager.hppH A D25-Nov-20242 KiB7843

core_manager_main.cppH A D05-Jun-20231.2 KiB5142

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

dump_entry.cppH A D02-Jun-20245.2 KiB176139

dump_entry.hppH A D02-Jun-20245.6 KiB18696

dump_manager.cppH A D06-Sep-2020371 2621

dump_manager.hppH A D25-Nov-20242.2 KiB8340

dump_manager_bmc.cppH A D01-Feb-202511.3 KiB366289

dump_manager_bmc.hppH A D01-Feb-20254.2 KiB13562

dump_manager_faultlog.cppH A D01-Feb-20253.6 KiB12394

dump_manager_faultlog.hppH A D01-Feb-20252.5 KiB8857

dump_manager_main.cppH A D31-May-20233.2 KiB11286

dump_offload.cppH A D26-Nov-20248 KiB238192

dump_offload.hppH A D08-Apr-2021528 2713

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

dump_serialize.hppH A D08-Apr-2021893 3619

dump_types.cpp.makoH A D05-Feb-20253.3 KiB131116

dump_types.hpp.makoH A D05-Feb-20253.8 KiB124109

dump_utils.cppH A D01-Feb-20252.3 KiB8366

dump_utils.hppH A D01-Feb-202512.3 KiB394257

elog_watch.cppH A D25-Nov-20245 KiB187150

elog_watch.hppH A D25-Nov-20242.9 KiB10551

example_dump_types.yamlH A D09-Jul-2023347 1312

example_errors_watch.yamlH A D08-Dec-202261 32

faultlog_dump_entry.cppH A D14-Jun-2023658 3424

faultlog_dump_entry.hppH A D25-Nov-20242 KiB6538

ffdcH A D10-Dec-20242.5 KiB9775

host_transport_exts.hppH A D06-Feb-2025492 3112

map_gen.pyH A D22-Jul-20231.5 KiB6650

meson.buildH A D06-Feb-202510.1 KiB396352

meson.optionsH A D01-Feb-20253.8 KiB179149

ramoops_manager.cppH A D05-Feb-20254.1 KiB135112

ramoops_manager.hppH A D05-Feb-20251 KiB5028

ramoops_manager_main.cppH A D05-Feb-2025505 2216

watch.cppH A D25-Mar-20243.2 KiB135104

watch.hppH A D25-Mar-20242.7 KiB10341

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