History log of /openbmc/openpower-debug-collector/dump/dump_collect_main.cpp (Results 1 – 5 of 5)
Revision Date Author Comments
# 540521ed 16-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: Ie029f7917035731dc2a3fd61c8bbd55685de6278
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...


# 6f1be979 01-Apr-2024 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Support for memory buffer SBE dump

This commit adds support for collecting memory buffer
SBE in the dump collect application

Change-Id: I8cde59d5fdea042db86356bbf6baea0270cb74e2
Signed-off-by: Dhru

Support for memory buffer SBE dump

This commit adds support for collecting memory buffer
SBE in the dump collect application

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

show more ...


# 9098d8c1 01-Dec-2022 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Add support for performance dump

Performance dump is a collection of hardware performance data
stored in the hardware registers. This commit adds support for
collecting the performance data from the

Add support for performance dump

Performance dump is a collection of hardware performance data
stored in the hardware registers. This commit adds support for
collecting the performance data from the hardware.

Test:

/tmp/dump-collect --type 3 --id 1 \
--path /tmp/dd/plat_dump/ \
--failingunit 1
PDBG Initialization started
Enter: getDump(3) on /proc3
Enter: getDump(3) on /proc0
Enter: getDump(3) on /proc1
Enter: getDump(3) on /proc2

Collected contents
plat_dump/00000001.SbeDataClocksOn.node0.proc0
plat_dump/00000001.SbeDataClocksOn.node0.proc1
plat_dump/00000001.SbeDataClocksOn.node0.proc2
plat_dump/00000001.SbeDataClocksOn.node0.proc3

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

show more ...


# 62881c53 20-Sep-2021 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Add support for collecting Self Boot Engine(SBE) dump

SBE is a microcontroller that sits inside the processor
to initialize it to start the booting procedure. It also acts as
a secure channel for ac

Add support for collecting Self Boot Engine(SBE) dump

SBE is a microcontroller that sits inside the processor
to initialize it to start the booting procedure. It also acts as
a secure channel for accessing certain control functions on
the processor. During the booting or other hardware access operations
SBE can encounter errors and become unresponsive. In such situations,
the debug data needs to be collected from such SBEs to find out
the root cause of the error.
This data may include hardware state, configuration, memory, etc.
The collected data is then packaged into the OpenPOWER dump format
and which is to be called as SBE dump.

The SBE dump is collected from an responsive SBE using special
procedures which is executing hardware access instructions
to get the memory and other hardware states. This commit adds
support for calling such procedure implementations.

Test:
Execute SBE dump collection during dump-collect

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

show more ...


# 858d1aaf 27-Oct-2021 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

dump-collect: Add application for SBE dump collection

This series of commits introduces the `dump-collect` application, a new
command-line tool designed to facilitate the collection of dumps from
th

dump-collect: Add application for SBE dump collection

This series of commits introduces the `dump-collect` application, a new
command-line tool designed to facilitate the collection of dumps from
the SBE. The tool is capable of asynchronous operation, allowing it
to initiate dump collection from different SBEs at the same time.

Key Highlights:
- The base implementation sets up the application to accept necessary
parameters for dump collection, including dump type, dump ID,
destination path for collected data, and the ID of the failing unit.
- An implementation of the dump collection class and the initiation
method enables the start of the dump collection process
asynchronously.
- The `dump-collect` application is designed to be invoked from scripts,
which collect various data in the case of system failures.

Tests:
Validated parameters passed
Starting dump collection method

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

show more ...