History log of /openbmc/phosphor-debug-collector/host-transport-extensions/ (Results 1 – 21 of 21)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
973b291e16-Aug-2024 Patrick Williams <patrick@stwcx.xyz>

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda forma

clang-format: re-format for clang-18

clang-format-18 isn't compatible with the clang-format-17 output, so we
need to reformat the code with the latest version. The way clang-18
handles lambda formatting also changed, so we have made changes to the
organization default style format to better handle lambda formatting.

See I5e08687e696dd240402a2780158664b7113def0e for updated style.
See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.

Change-Id: I748aeef75e2078199193cd98013dd2fe7f6b5db8
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

2936ae4a19-Jun-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

host-transport-extensions: Replace deprecated libpldm header path

There are more OEMs than IBM contributing to libpldm, so the OEM headers
were restructured. Replace the deprecated IBM OEM header pa

host-transport-extensions: Replace deprecated libpldm header path

There are more OEMs than IBM contributing to libpldm, so the OEM headers
were restructured. Replace the deprecated IBM OEM header path with the
namespaced path.

The patch was generated by with the coccinelle[1] script from [2]:

```
$ spatch \
--sp-file .../libpldm/origin/evolutions/current/oem-ibm-header-compat.cocci \
--in-place \
$(git ls-files | grep -E '\.[ch](pp)?')
```

[1]: https://coccinelle.gitlabpages.inria.fr/website/
[2]: https://gerrit.openbmc.org/c/openbmc/libpldm/+/72202

Change-Id: I60f2fb09f1f680e21522f2d3f9d9fa8ecc115bfe
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...

0dff904d27-Feb-2024 Patrick Williams <patrick@stwcx.xyz>

pldm_oem_cmds: fix compile fail

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I5730c247fe7d83d2dcef29eb3429971f1d847b87

18c7d92e26-Feb-2024 Patrick Williams <patrick@stwcx.xyz>

lg2: use direct enum conversion

lg2 now allows logging an enum directly without extra casting. Remove
the `underlying_cast` to simplify the code.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz

lg2: use direct enum conversion

lg2 now allows logging an enum directly without extra casting. Remove
the `underlying_cast` to simplify the code.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I3415be5f7e9be2302c870b5499f96cda3545d0fa

show more ...

7cd0528a29-Nov-2023 Patrick Williams <patrick@stwcx.xyz>

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer retur

build: use allowed over enabled

Meson feature options are typically in a tri-state of enabled, disabled,
or auto. The enabled and disabled functions on an option (from
`get_option`) no longer return true for auto features. Instead, the
expectation is to use `allowed()` which is true for both enabled and auto.

Switch all uses of `enabled` to `allowed`.

Change-Id: I8671a81c57e5032c776691d30a941c19b1d53e9d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/phosphor-debug-collector/.clang-format
/openbmc/phosphor-debug-collector/.shellcheck-ignore
/openbmc/phosphor-debug-collector/README.md
/openbmc/phosphor-debug-collector/bmc_dump_entry.hpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/core_manager.hpp
/openbmc/phosphor-debug-collector/dump-extensions/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/op_dump_util.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/op_dump_util.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_entry.cpp
/openbmc/phosphor-debug-collector/dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_main.cpp
/openbmc/phosphor-debug-collector/dump_types.mako.cpp
/openbmc/phosphor-debug-collector/dump_types.mako.hpp
/openbmc/phosphor-debug-collector/dump_utils.cpp
/openbmc/phosphor-debug-collector/dump_utils.hpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
/openbmc/phosphor-debug-collector/elog_watch.hpp
/openbmc/phosphor-debug-collector/example_dump_types.yaml
/openbmc/phosphor-debug-collector/faultlog_dump_entry.hpp
/openbmc/phosphor-debug-collector/ffdc
pldm/meson.build
/openbmc/phosphor-debug-collector/map_gen.py
/openbmc/phosphor-debug-collector/meson.build
/openbmc/phosphor-debug-collector/meson.options
/openbmc/phosphor-debug-collector/ramoops_manager.cpp
/openbmc/phosphor-debug-collector/ramoops_manager.hpp
/openbmc/phosphor-debug-collector/test/meson.build
/openbmc/phosphor-debug-collector/tools/dreport.d/README.md
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/plugins.d/badpel
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/traceevents
0b566d5414-Jun-2023 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Minor cleanup: Remove unused header file and namespace

This commit performs minor by removing an unnecessary
header file: phosphor-logging/log.hpp
and namespace: using namespace phosphor::logging

T

Minor cleanup: Remove unused header file and namespace

This commit performs minor by removing an unnecessary
header file: phosphor-logging/log.hpp
and namespace: using namespace phosphor::logging

These cleanup changes have no impact on the functionality.
They enhance code cleanliness, reduce potential confusion,
and promote better code maintenance and readability.

Test:
Created a full build to make sure no errors

Change-Id: I68f2d81c538d3f632e6edd24702efc6ae7b07086
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

show more ...

d1f670fe05-Jun-2023 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Implementing Phosphor-Logging/LG2 logging

This commit introduces changes in the phosphor-debug-collector
repository to implement structured logging using the LG2
framework. The existing log calls in

Implementing Phosphor-Logging/LG2 logging

This commit introduces changes in the phosphor-debug-collector
repository to implement structured logging using the LG2
framework. The existing log calls in the repository,
have been replaced with LG2 logging, facilitates better
log tracking and troubleshooting by offering improved
detail in JSON object values.

Test:
- Created BMC dump
- Created system dump

Here is a example
{
"_EXE" : "/tmp/phosphor-dump-manager",
"_MACHINE_ID" : "f9ca96d99c7b4ba688556f632ffeff5d",
"_CAP_EFFECTIVE" : "1ffffffffff",
"LOG2_FMTMSG" : "Invalid Dump file name, FILENAME: {FILENAME}",
"__CURSOR" : "s=721ae7a5b6ed43ec904f2bb03e3c0403;i=2a8d0;\
b=b372b9a5989e46bb8e62b33310e181ea;m=2c05fda2b;t=5fdf0684c1e70;x=1592f60584d6486c",
"CODE_FUNC" : "void phosphor::dump::bmc::Manager::\
createEntry(const std::filesystem::__cxx11::path&)",
"_SYSTEMD_SLICE" : "system-dropbear.slice",
"CODE_LINE" : "174",
"__REALTIME_TIMESTAMP" : "1686583867350640",
"PRIORITY" : "3",
"_SYSTEMD_UNIT" : "dropbear@1-9.3.29.238:22-9.3.84.138:45432.service",
"_PID" : "16209",
"_BOOT_ID" : "b372b9a5989e46bb8e62b33310e181ea",
"_SOURCE_REALTIME_TIMESTAMP" : "1686583867350580",
"_TRANSPORT" : "journal",
"_HOSTNAME" : "openbmc",
"SYSLOG_IDENTIFIER" : "phosphor-dump-manager",
"MESSAGE" : "Invalid Dump file name, \
FILENAME: BMCDUMP.XXXXXXX.0000006.20230612153010",
"CODE_FILE" : \
"/usr/src/debug/phosphor-debug-collector/1.0+gitAUTOINC+a17f1c92ce-r1\
/dump_manager_bmc.cpp",
"_UID" : "0",
"_CMDLINE" : "/tmp/phosphor-dump-manager",
"_RUNTIME_SCOPE" : "system",
"FILENAME" : "BMCDUMP.XXXXXXXX.0000006.20230612153010",
"_SYSTEMD_INVOCATION_ID" : "64a11629aade4c96ab62154cbc4be8b7",
"__MONOTONIC_TIMESTAMP" : "11817441835",
"_SYSTEMD_CGROUP" : "/system.slice/system-dropbear.slice/\
dropbear@1-9.3.29.238:22-9.3.84.138:45432.service",
"_COMM" : "phosphor-dump-m",
"_GID" : "0"
}

Change-Id: I3a52b812b059b64d945493de2e2cc68a43f6d72a
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

show more ...

b2665cdf08-Jun-2023 ojayanth <ojayanth@in.ibm.com>

gcc13 : fix argument format issues

gcc13 based build failed with below errors.
error: static assertion failed: Cannot format an argument.
To make type T formattable provide a formatter<T> speciali

gcc13 : fix argument format issues

gcc13 based build failed with below errors.
error: static assertion failed: Cannot format an argument.
To make type T formattable provide a formatter<T> specialization:
https://fmt.dev/latest/api.html#udt

Problem reported during enum type input is similar to
https://github.com/fmtlib/fmt/issues/391
Fix is to static_cast the "enum" type to "underlying_type" in
fmt::format function.

Problem related file descriptor input is to static_cast enum
to "underlying_type".

Change-Id: I587e4abfb4e188d40a0e4bfbdd57e6da6a77616d
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...

78e8840210-May-2023 Patrick Williams <patrick@stwcx.xyz>

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest

clang-format: copy latest and re-format

clang-format-16 has some backwards incompatible changes that require
additional settings for best compatibility and re-running the formatter.
Copy the latest .clang-format from the docs repository and reformat the
repository.

Change-Id: If4790d4928efc3e6690ca090aa79f0c7737c3683
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


/openbmc/phosphor-debug-collector/.clang-format
/openbmc/phosphor-debug-collector/.shellcheck-ignore
/openbmc/phosphor-debug-collector/OWNERS
/openbmc/phosphor-debug-collector/README.md
/openbmc/phosphor-debug-collector/bmc_dump_entry.hpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/dump-extensions/default/default.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump-extensions.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_resource.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_manager.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_faultlog.cpp
/openbmc/phosphor-debug-collector/dump_offload.cpp
/openbmc/phosphor-debug-collector/dump_utils.cpp
/openbmc/phosphor-debug-collector/dump_utils.hpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
/openbmc/phosphor-debug-collector/errors_map_gen.py
/openbmc/phosphor-debug-collector/example_errors_watch.yaml
/openbmc/phosphor-debug-collector/faultlog_dump_entry.hpp
/openbmc/phosphor-debug-collector/ffdc
pldm/common/pldm_utils.cpp
/openbmc/phosphor-debug-collector/meson.build
/openbmc/phosphor-debug-collector/ramoops_manager.cpp
/openbmc/phosphor-debug-collector/subprojects/sdeventplus.wrap
/openbmc/phosphor-debug-collector/test/debug_inif_test.cpp
/openbmc/phosphor-debug-collector/tools/dreport.d/README.md
/openbmc/phosphor-debug-collector/tools/dreport.d/dreport
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/gendumpheader
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/plugins.d/pels
/openbmc/phosphor-debug-collector/tools/dreport.d/include.d/functions
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/cfam
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/dumpfilelist
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/guardlist
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/occ
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/phal_devtree
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/altfwprintenv
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/bios
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/elogall
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/emconfig
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/fanctldump
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/fanmondump
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/hostlogger
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/inventory
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ledgroup
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/lktrace
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/network
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/pldmflightrecorder
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/procfd
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ramoops
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/settings
/openbmc/phosphor-debug-collector/watch.cpp
/openbmc/phosphor-debug-collector/xyz/openbmc_project/Dump/Internal/Create.interface.yaml
/openbmc/phosphor-debug-collector/xyz/openbmc_project/Dump/Internal/Create/meson.build
9126ec0312-Oct-2022 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

OpenPOWER: Add additional traces when requesting instance id

The dump manager requests an instance id from PLDM to communicate
with the host. Since the number of instances is limited
PLDM needs to k

OpenPOWER: Add additional traces when requesting instance id

The dump manager requests an instance id from PLDM to communicate
with the host. Since the number of instances is limited
PLDM needs to keep track of the requests, adding
additional traces while requesting the instance id.
Added exception handling for bus errors while
getting instance id from PLDM.

Testing:
Execute offload and delete to see whether traces are coming.

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Id15a99d349851ca00baf7fc8d59a83d7d266fa44

show more ...

f5e5385d03-Mar-2022 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

OpenPOWER: Use non blocking call for host dump offload request

Currently dump manager is using pldm_send_recv which is
a blocking call and if the host is not responding
dump manager will hang to avo

OpenPOWER: Use non blocking call for host dump offload request

Currently dump manager is using pldm_send_recv which is
a blocking call and if the host is not responding
dump manager will hang to avoid this using pldm_send
which is a non-blocking call.

Tests:

Send message while host is down and dump manager is
not hung.

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: Ie90e217325da4c8778c7527afcd453a8fdce02c8

show more ...

b5a7547f03-Feb-2022 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

OpenPOWER: Do not wait for response deleting host dump

The resource dump delete is long running operation with
dbus call to PLDM for instance id, making it inside a
dbus call will end up timeouts wh

OpenPOWER: Do not wait for response deleting host dump

The resource dump delete is long running operation with
dbus call to PLDM for instance id, making it inside a
dbus call will end up timeouts when PLDM tries to
access dump manager. To avoid dead-locks dump manager
will not be waiting for response after a delete
operation

Testing:
Create system dump and delete the dump
Create 10 resource dumps and delete one by one

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I9c98c40672274a33097d9c4129ea52b5984c4246

show more ...


/openbmc/phosphor-debug-collector/.gitignore
/openbmc/phosphor-debug-collector/OWNERS
/openbmc/phosphor-debug-collector/bmc_dump_entry.cpp
/openbmc/phosphor-debug-collector/bmc_dump_entry.hpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/core_manager_main.cpp
/openbmc/phosphor-debug-collector/dump-extensions.hpp
/openbmc/phosphor-debug-collector/dump-extensions/default/default.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump-extensions.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_resource.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_resource.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/op_dump_consts.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_internal.hpp
/openbmc/phosphor-debug-collector/dump_manager.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_faultlog.cpp
/openbmc/phosphor-debug-collector/dump_manager_faultlog.hpp
/openbmc/phosphor-debug-collector/dump_manager_main.cpp
/openbmc/phosphor-debug-collector/dump_offload.cpp
/openbmc/phosphor-debug-collector/dump_serialize.cpp
/openbmc/phosphor-debug-collector/dump_utils.cpp
/openbmc/phosphor-debug-collector/dump_utils.hpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
/openbmc/phosphor-debug-collector/elog_watch.hpp
/openbmc/phosphor-debug-collector/faultlog_dump_entry.cpp
/openbmc/phosphor-debug-collector/faultlog_dump_entry.hpp
pldm/oem/ibm/pldm_oem_cmds.cpp
/openbmc/phosphor-debug-collector/meson.build
/openbmc/phosphor-debug-collector/meson_options.txt
/openbmc/phosphor-debug-collector/ramoops_manager.cpp
/openbmc/phosphor-debug-collector/subprojects/cereal.wrap
/openbmc/phosphor-debug-collector/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-debug-collector/subprojects/phosphor-logging.wrap
/openbmc/phosphor-debug-collector/subprojects/sdbusplus.wrap
/openbmc/phosphor-debug-collector/test/meson.build
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/plugins.d/vpd_data
/openbmc/phosphor-debug-collector/tools/dreport.d/include.d/functions
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/dumpfilelist
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/guardlist
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/obmcconsole1
/openbmc/phosphor-debug-collector/tools/dreport.d/openpower.d/plugins.d/phal_devtree
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/dmesginfo
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/emconfig
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/fanctldump
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/fanmondump
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/hwmon
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/network
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/pldmflightrecorder
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/procfd
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/servicestatus
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/timedate
/openbmc/phosphor-debug-collector/xyz/openbmc_project/Dump/Internal/Create/meson.build
858fbb2e30-Jun-2021 George Liu <liuxiwei@inspur.com>

Add fmtlib for phosphor-debug-collector

Call fmtlib to get additional information from journal.

Tested: built phosphor-debug-collector successfully
and Unit Test passes.

Signed-off-by: Geo

Add fmtlib for phosphor-debug-collector

Call fmtlib to get additional information from journal.

Tested: built phosphor-debug-collector successfully
and Unit Test passes.

Signed-off-by: George Liu <liuxiwei@inspur.com>
Change-Id: Ibe65637a0b29b76269fb4bc3f498438901c9306a

show more ...


/openbmc/phosphor-debug-collector/MAINTAINERS
/openbmc/phosphor-debug-collector/README.md
/openbmc/phosphor-debug-collector/bmc_dump_entry.cpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/core_manager_main.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_resource.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_main.cpp
/openbmc/phosphor-debug-collector/dump_offload.cpp
/openbmc/phosphor-debug-collector/dump_serialize.cpp
/openbmc/phosphor-debug-collector/dump_utils.cpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
pldm/common/pldm_utils.cpp
pldm/oem/ibm/pldm_oem_cmds.cpp
/openbmc/phosphor-debug-collector/meson.build
/openbmc/phosphor-debug-collector/meson_options.txt
/openbmc/phosphor-debug-collector/ramoops_manager.cpp
/openbmc/phosphor-debug-collector/ramoops_manager.hpp
/openbmc/phosphor-debug-collector/ramoops_manager_main.cpp
/openbmc/phosphor-debug-collector/subprojects/fmt.wrap
/openbmc/phosphor-debug-collector/subprojects/googletest.wrap
/openbmc/phosphor-debug-collector/subprojects/phosphor-dbus-interfaces.wrap
/openbmc/phosphor-debug-collector/subprojects/phosphor-logging.wrap
/openbmc/phosphor-debug-collector/subprojects/sdbusplus.wrap
/openbmc/phosphor-debug-collector/test/meson.build
/openbmc/phosphor-debug-collector/tools/dreport.d/dreport
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/osrelease
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ramoops
/openbmc/phosphor-debug-collector/tools/dreport.d/sample.conf
/openbmc/phosphor-debug-collector/watch.cpp
/openbmc/phosphor-debug-collector/xyz/openbmc_project/Dump/Internal/Create.interface.yaml
0af74a5e08-Apr-2021 Jayanth Othayoth <ojayanth@in.ibm.com>

Update clang-format

Update to the latest OpenBMC clang-format.

Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
Change-Id: I54010d3c756af4c85786285644038d449730612b


/openbmc/phosphor-debug-collector/.clang-format
/openbmc/phosphor-debug-collector/bmc_dump_entry.cpp
/openbmc/phosphor-debug-collector/bmc_dump_entry.hpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/core_manager.hpp
/openbmc/phosphor-debug-collector/dump-extensions/default/default.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_resource.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_resource.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_manager.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_main.cpp
/openbmc/phosphor-debug-collector/dump_offload.cpp
/openbmc/phosphor-debug-collector/dump_offload.hpp
/openbmc/phosphor-debug-collector/dump_serialize.cpp
/openbmc/phosphor-debug-collector/dump_serialize.hpp
/openbmc/phosphor-debug-collector/dump_utils.hpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
/openbmc/phosphor-debug-collector/elog_watch.hpp
pldm/oem/ibm/pldm_oem_cmds.cpp
/openbmc/phosphor-debug-collector/test/debug_inif_test.cpp
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/badvpd
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/gendumpheader
/openbmc/phosphor-debug-collector/watch.cpp
/openbmc/phosphor-debug-collector/watch.hpp
0c782d6424-Mar-2021 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Error while invalidating the resource dump over PLDM.

Problem:
The wrong identifier type was passed to the host dump
transport for deleting the dump, so an exception
is thrown.
Fix was needed in two

Error while invalidating the resource dump over PLDM.

Problem:
The wrong identifier type was passed to the host dump
transport for deleting the dump, so an exception
is thrown.
Fix was needed in two places
1) Dump identifier number was old in resource dump manager
2) PLDM_FILE_TYPE_RESOURCE_DUMP_PARAMS was given as dump
identifier instead of PLDM_FILE_TYPE_RESOURCE_DUMP.
Test:
- Created a new dump
- Invalidated the dump
Result: Dump is deleted from the host.

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: If68f415439d8322f47fa6a6bc7a9b230e9f67fb1

show more ...

4c63ce5e18-Dec-2020 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Add support for resource dump delete.

Add support for deleting resource dumps in host memory.
Change requestDelete to accept dump type.
Update system dump delete to pass dump type.

Signed-off-by: D

Add support for resource dump delete.

Add support for deleting resource dumps in host memory.
Change requestDelete to accept dump type.
Update system dump delete to pass dump type.

Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
Change-Id: I8dcf85a2b38da15ff8451003c11232e340c4ca89

show more ...

ebd43d5e18-Jan-2021 Ramesh Iyyar <rameshi1@in.ibm.com>

host-transport: pldm: default: Added missing header

Added missing header file inclusion to fix compilation error when
using "host-transport" option alone to get default pldm behaviour
to do required

host-transport: pldm: default: Added missing header

Added missing header file inclusion to fix compilation error when
using "host-transport" option alone to get default pldm behaviour
to do required host dump action.

Error 1: 'uint32_t' was not declared in this scope
Fixed by using `#include <stdint.h>`

Error 2: 'runtime_error' is not a member of 'std'
Fixed by using `#include <stdexcept>`

TestedBy:
- meson builddir -Dhost-transport=pldm
ninja -C builddir

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I136defcf5f45a6f15be41e11e792091e103ce2c3

show more ...

2279386b04-Dec-2020 Ramesh Iyyar <rameshi1@in.ibm.com>

host: Added support to delete system dump

To delete host system dump using pldm oem command "FileAck" with
dump file type and dump id which is present as source dump id (which
is got from pldm after

host: Added support to delete system dump

To delete host system dump using pldm oem command "FileAck" with
dump file type and dump id which is present as source dump id (which
is got from pldm after created the host system dump) in system dump entry
dbus object and also, to use pldm oem command added support to indicate
delete host system dump support is not available for other host transport
consumer and for other oem vendors who are using pldm as host transport
to get host dump.

Also, changed existing commited error i.e internal failure into not allowed
for host system dump offload to avoid bmc dump creation in dump path.

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: Ib6be5b521fb3c5aa2926497bae0b03c1d9737161

show more ...

5765b1db04-Dec-2020 Ramesh Iyyar <rameshi1@in.ibm.com>

ibm-host-system-dump-offload: Used CustomFd

Used "CustomFd" class instead closeFD() to avoid call in requried place
for close fd.

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: Id2107

ibm-host-system-dump-offload: Used CustomFd

Used "CustomFd" class instead closeFD() to avoid call in requried place
for close fd.

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: Id210713e4ae67495ee504fab47067c8a5643c930

show more ...

3af5c32b04-Dec-2020 Ramesh Iyyar <rameshi1@in.ibm.com>

offload: Moved existing pldm offload as oem/ibm command

Currently used host mctp end point id is ibm specific and also
the used effecter id (0x05) is for phyp and "SetNumericEffecterValue"
pldm comm

offload: Moved existing pldm offload as oem/ibm command

Currently used host mctp end point id is ibm specific and also
the used effecter id (0x05) is for phyp and "SetNumericEffecterValue"
pldm command is common so, changing existing pldm offload implementation
into oem based and added default pldm offload interface as well.

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I8a401e03d29f9245dd54577b8b7b1d87d4a13d18

show more ...

131994be03-Dec-2020 Ramesh Iyyar <rameshi1@in.ibm.com>

host-dump: Renamed host-dump-offload-transport build option

Currently dump manager using "host-dump-offload-transport" to mention
the transport protocol name to offload host dumps but, same transpor

host-dump: Renamed host-dump-offload-transport build option

Currently dump manager using "host-dump-offload-transport" to mention
the transport protocol name to offload host dumps but, same transport
can use to other actions i.e create and delete. So, Changing build option
name into "host-transport" to make generic.

Also, transport code sources files are organized based on "offload" name
so, changed same as "host-transport".

Signed-off-by: Ramesh Iyyar <rameshi1@in.ibm.com>
Change-Id: I9e229218ea8c606e7092daf4d24fd6d16eb425c8

show more ...


/openbmc/phosphor-debug-collector/.clang-format
/openbmc/phosphor-debug-collector/.gitignore
/openbmc/phosphor-debug-collector/LICENSE
/openbmc/phosphor-debug-collector/MAINTAINERS
/openbmc/phosphor-debug-collector/README.md
/openbmc/phosphor-debug-collector/bmc_dump_entry.cpp
/openbmc/phosphor-debug-collector/bmc_dump_entry.hpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/core_manager.hpp
/openbmc/phosphor-debug-collector/core_manager_main.cpp
/openbmc/phosphor-debug-collector/dump-extensions.hpp
/openbmc/phosphor-debug-collector/dump-extensions/default/default.cpp
/openbmc/phosphor-debug-collector/dump-extensions/default/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump-extensions.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_entry.cpp
/openbmc/phosphor-debug-collector/dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_internal.hpp
/openbmc/phosphor-debug-collector/dump_manager.cpp
/openbmc/phosphor-debug-collector/dump_manager.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_main.cpp
/openbmc/phosphor-debug-collector/dump_offload.cpp
/openbmc/phosphor-debug-collector/dump_offload.hpp
/openbmc/phosphor-debug-collector/dump_serialize.cpp
/openbmc/phosphor-debug-collector/dump_serialize.hpp
/openbmc/phosphor-debug-collector/dump_utils.cpp
/openbmc/phosphor-debug-collector/dump_utils.hpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
/openbmc/phosphor-debug-collector/elog_watch.hpp
/openbmc/phosphor-debug-collector/errors_map.mako.hpp
/openbmc/phosphor-debug-collector/errors_map_gen.py
/openbmc/phosphor-debug-collector/example_errors_watch.yaml
/openbmc/phosphor-debug-collector/ffdc
default/default.cpp
default/meson.build
meson.build
pldm/meson.build
pldm/pldm_interface.cpp
pldm/pldm_interface.hpp
/openbmc/phosphor-debug-collector/host_transport_exts.hpp
/openbmc/phosphor-debug-collector/meson.build
/openbmc/phosphor-debug-collector/meson_options.txt
/openbmc/phosphor-debug-collector/test/debug_inif_test.cpp
/openbmc/phosphor-debug-collector/test/meson.build
/openbmc/phosphor-debug-collector/tools/dreport.d/dreport
/openbmc/phosphor-debug-collector/tools/dreport.d/ibm.d/gendumpheader
/openbmc/phosphor-debug-collector/tools/dreport.d/include.d/functions
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/altfwprintenv
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/bmcstate
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/chassisstate
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/corefile
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/cpuinfo
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/diskusage
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/elog
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/elogall
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/failedservices
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/fwprintenv
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/hostlogger
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/hostnamectl
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/hoststate
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/inventory
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ipaddr
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/iplink
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/journalpid
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/journalpretty
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/meminfo
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/obmcconsole
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/osrelease
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/top
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/uptime
/openbmc/phosphor-debug-collector/tools/dreport.d/sample.conf
/openbmc/phosphor-debug-collector/watch.cpp
/openbmc/phosphor-debug-collector/watch.hpp
/openbmc/phosphor-debug-collector/xyz/openbmc_project/Dump/Internal/Create.interface.yaml
/openbmc/phosphor-debug-collector/xyz/openbmc_project/Dump/Internal/Create/meson.build