History log of /openbmc/openpower-debug-collector/dump/tools/opdump/opdreport (Results 1 – 2 of 2)
Revision Date Author Comments
# c14bf2c9 18-Sep-2024 SwethaParasa <parasa.swetha1@ibm.com>

opdreport: Eliminate undeclared variable; use existing variable instead

The variable 'id' is not declared anywhere in the code, but it is
used for determining the dump content type in the code. Beca

opdreport: Eliminate undeclared variable; use existing variable instead

The variable 'id' is not declared anywhere in the code, but it is
used for determining the dump content type in the code. Because of
this, dump content type is not populated correctly which is causing
a failure in determining dump type when the dump is parsed using
'makedump' tool. So, removing usage of variable 'id' and using
'dump_id' instead of it to solve this issue.

Test Results:

Before:
>>>> Processing dump files
  Processing: SYSDUMP.13E09F0.00000007.20240913135832
  Dump Type is: UNKNOWN

>>>> Processing dump files
  Processing: SYSDUMP.13ECF8X.20000008.20240916083507
Dump Type is: UNKNOWN

After:
>>>> Processing dump files
Processing: SYSDUMP.1012345.00000008.20240903113715
Dump Type is: SCS

>>>> Processing dump files
Processing: SYSDUMP.1012345.20000007.20240903113517
Dump Type is: HB

>>>> Processing dump files
Processing: SYSDUMP.1012345.20000010.20240903140425
Dump Type is: HB

>>>> Processing dump files
Processing: SYSDUMP.1012345.00000011.20240903140502
Dump Type is: SCS

Change-Id: If41f2d652a2b75cce78f50cb64bbf5ff56b87e98
Signed-off-by: SwethaParasa <parasa.swetha1@ibm.com>

show more ...


# 35714cd2 16-May-2024 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Add opdreport tool to OpenPOWER Debug Collector

This commit introduces the opdreport tool, which creates an archive
consisting of host dump files and applies headers on top of it. The
tool includes

Add opdreport tool to OpenPOWER Debug Collector

This commit introduces the opdreport tool, which creates an archive
consisting of host dump files and applies headers on top of it. The
tool includes options to specify the name, directory, dump ID,
maximum allowed size, failing unit, error log ID, and type of the dump
to be collected.

Changes:
- Added meson.build files to integrate opdreport tool.
- Updated meson.build to conditionally include the dump subdirectory
based on the dump-collection option.
- Added opdreport script to the tools/opdump directory.
- Modified meson.build to handle installation of opdreport.

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

show more ...