OpenPOWER: Add support for Hostboot dump.
Hostboot dump is a dump created during the boot failure
on OpenPOWER based systems.
The dump get extracted from Self Boot Engine(SBE) with
the openpower-dump-manager application.
That application will call into phosphor-dump-manager
to create a dump with the data collected from each
SBE in the system.
Role of phosphor-debug-collector hostboot dump manager
- Create the hostboot dump package directory
- Create hostboot dump entry
- Implement notify interface to get notified when the
collection is completed
- Once notified collect each file from the predefined
location and package it into a dump.
- Update the hostboot dump entry with details once
dump packaging is completed.
Tested:
- Create a dump entry with busctl
- create a dummy file in search path
- Call notify with busctl
Signed-off-by: Dhruvaraj Subhshchandran <dhruvaraj@in.ibm.com>
Change-Id: I2dab3b7ca976ed33184f770722cca00b1b02c075
diff --git a/dump-extensions.hpp b/dump-extensions.hpp
index ec22258..56fb740 100644
--- a/dump-extensions.hpp
+++ b/dump-extensions.hpp
@@ -1,4 +1,5 @@
#include "dump_manager.hpp"
+#include "dump_utils.hpp"
#include <memory>
#include <vector>
@@ -16,6 +17,7 @@
* @param[out] dumpMgrList - list dump manager objects.
*
*/
-void loadExtensions(sdbusplus::bus_t& bus, DumpManagerList& dumpMgrList);
+void loadExtensions(sdbusplus::bus::bus& bus, const EventPtr& event,
+ DumpManagerList& dumpMgrList);
} // namespace dump
} // namespace phosphor