summaryrefslogtreecommitdiffstats
path: root/dump_manager.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'dump_manager.hpp')
-rw-r--r--dump_manager.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/dump_manager.hpp b/dump_manager.hpp
index f414752..694cf7b 100644
--- a/dump_manager.hpp
+++ b/dump_manager.hpp
@@ -37,6 +37,13 @@ namespace fs = std::experimental::filesystem;
using Watch = phosphor::dump::inotify::Watch;
+// Type to dreport type string map
+static const std::map<Type, std::string> TypeMap = {
+ {Type::ApplicationCored, "core"},
+ {Type::UserRequested, "user"},
+ {Type::InternalFailure, "elog"},
+ {Type::Checkstop, "checkstop"}};
+
/** @class Manager
* @brief OpenBMC Dump manager implementation.
* @details A concrete implementation for the
OpenPOWER on IntegriCloud