commit | ddc3366e3e12d7e6f7d7f37abccc174692f24239 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Mon Jul 19 09:28:42 2021 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Mon Jul 26 10:27:08 2021 -0500 |
tree | c9b761a8f0147f1027d3c746c995ad704d6fc94c | |
parent | 363af249c90584b919c73edc0efbf08b5b977acd [diff] |
Update dump create parameters Dump create parameters are a set of parameters accepted in dict format while creating the dump. So far the values can be only strings but now unit64 also added. This commit address the changes to handle the updated dictionary Testing: - Full build with interface change is successful - Created dumps with new interface Resource Dump: busctl --verbose call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/resource xyz.openbmc_project.Dump.Create CreateDump a{sv} 2 "com.ibm.Dump.Create.CreateParameters.VSPString" s "vsp" "com.ibm.Dump.Create.CreateParameters.Password" s "0" MESSAGE "o" { OBJECT_PATH "/xyz/openbmc_project/dump/resource/entry/1"; }; BMC Dump: busctl --verbose call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create CreateDump a{sv} 0 MESSAGE "o" { OBJECT_PATH "/xyz/openbmc_project/dump/bmc/entry/92"; }; System Dump: busctl --verbose call xyz.openbmc_project.Dump.Manager /xyz/openbmc_project/dump/system xyz.openbmc_project.Dump.Create CreateDump a{sv} 0 MESSAGE "o" { OBJECT_PATH "/xyz/openbmc_project/dump/system/entry/1"; }; Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I37ab7d870954e1b52500f5975735286433fbb8df
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