commit | 2d38ad5aa8fc7a8d88e0a9ba4d859edbc3149d28 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Thu Sep 08 10:42:42 2022 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Mon Sep 12 09:04:24 2022 -0500 |
tree | 31cdb726b3a3cbada11e5eb72e2aff9eaa1f1efa | |
parent | 046640491721419f74274cc214ca3f28116f0448 [diff] |
dreport: Add phosphor-fan-monitor data to dump Send the USR1 signal to phosphor-fan-monitor to collect its dump data as part of a BMC dump. Tested: ~/BMCDUMP.139F210.00000041.20220908143628_out/archive$ cat fan_monitor_dump.json { "logs": [], "sensors": { "sensors": { "/xyz/openbmc_project/sensors/fan_tach/fan0_0": { "functional": true, "in_range": true, "present": true, "prev_tachs": "[11904,11867,11904,11904,11867,11904,11867,11904]", "prev_targets": "[18000,0,0,0,0,0,0,0]", "tach": 11904.0, "target": 18000, "ticks": 0 }, ... } Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: I1173a38a755edff14ee0d418ec29ac0c583a790f
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
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