Move collectSBEDump to openpower-debug-collector

 Hardware and Hostboot dump collection are being handled in
 openpower-debug-collector. SBE dump collection should also be performed
 from openpower-debug-collector instead of from IPL.This change
 implements the collectSBEDump function as a SbeDumpCollector member
 function which executes the SBE dump collection process. collectSBEDump
 function is being removed from IPL in this commit[1]

 Declared functions which will be called from collectSBEDump
 in libphal.H file via commit[1]

 Implemented collectSBEDump(for SBE dump collection) and
 collectHWHBDump(for Hardware and Hostboot dump collection)
 as private member functions in SbeDumpCollector class. These
 private member functions will now be called via collectDump
 public method based on the type of dump that needs to be collected.

 Tested on a Everest DDR5 machine. Able to generate Proc and
 Odyssey SBE dumps

 [1] https://github.com/open-power/ipl/pull/96

Change-Id: I7919fdf31dc9a985a72bc06444d9d55fe78aa13b
Signed-off-by: Nabil Ananthamangalath <nabilmanjeri@gmail.com>
3 files changed
tree: 569c49b08d9a35d13273d807b020afe3db3e1ece
  1. dump/
  2. subprojects/
  3. watchdog/
  4. .clang-format
  5. .gitignore
  6. .shellcheck-ignore
  7. checkstop_app.cpp
  8. LICENSE
  9. meson.build
  10. meson.options
  11. OWNERS
  12. README.md
  13. watchdog_timeout.cpp
README.md

openpower-debug-collector

Building the Code

To build this package, do the following steps:

    1. meson build
    2. ninja -C build

To clean the repository run `rm -rf build`.