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_manager_bmcstored.hpp b/dump_manager_bmcstored.hpp
index 1ea17d4..9c3cf28 100644
--- a/dump_manager_bmcstored.hpp
+++ b/dump_manager_bmcstored.hpp
@@ -8,13 +8,13 @@
#include <filesystem>
#include <map>
-
namespace phosphor
{
namespace dump
{
namespace bmc_stored
{
+using namespace phosphor::logging;
using UserMap = phosphor::dump::inotify::UserMap;
using Watch = phosphor::dump::inotify::Watch;