commit | fc69f35ca36f0516b85fe102f266b06b33c2d1cf | [log] [tgz] |
---|---|---|
author | Xie Ning <xiening.xll@bytedance.com> | Tue May 17 16:06:52 2022 +0800 |
committer | Jayanth Othayoth <ojayanth@gmail.com> | Tue Aug 09 05:00:48 2022 +0000 |
tree | 2d7e51437393623dccba5302dacecd5f50a085e6 | |
parent | b7e6e2e44406136fff7e4be813c8aa5cb9506d9f [diff] |
Add rotate support if the space is full delete the first existing file if the space is not enough Tested: 1. create dump and make the space is not enough busctl call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create CreateDump a{sv} 0 busctl tree xyz.openbmc_project.Dump.Manager `-/xyz `-/xyz/openbmc_project `-/xyz/openbmc_project/dump |-/xyz/openbmc_project/dump/bmc | `-/xyz/openbmc_project/dump/bmc/entry | |-/xyz/openbmc_project/dump/bmc/entry/10 | |-/xyz/openbmc_project/dump/bmc/entry/6 | |-/xyz/openbmc_project/dump/bmc/entry/7 | |-/xyz/openbmc_project/dump/bmc/entry/8 | `-/xyz/openbmc_project/dump/bmc/entry/9 `-/xyz/openbmc_project/dump/internal `-/xyz/openbmc_project/dump/internal/manager 2. create dump again and the the first existing file will be deleted Signed-off-by: Xie Ning <xiening.xll@bytedance.com> Change-Id: Ic3b376d7e6512a264f849de760363f4e167421c7
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