26 #include <RdkPluginBase.h>
39 Minidump(std::shared_ptr<rt_dobby_schema>& containerConfig,
40 const std::shared_ptr<DobbyRdkPluginUtils> &utils,
41 const std::string &rootfsPath);
44 inline std::string
name()
const override
64 const std::string mName;
65 std::shared_ptr<rt_dobby_schema> mContainerConfig;
66 const std::string mRootfsPath;
67 const std::shared_ptr<DobbyRdkPluginUtils> mUtils;
Dobby RDK Minidump Plugin.
Definition: Minidump.h:37
bool preCreation() override
OCI Hook - Run in host namespace.
Definition: Minidump.cpp:67
unsigned hookHints() const override
Set the bit flags for which hooks we're going to use.
Definition: Minidump.cpp:56
bool postHalt() override
Dobby Hook - Run in host namespace when container terminates.
Definition: Minidump.cpp:105
std::vector< std::string > getDependencies() const override
Should return the names of the plugins this plugin depends on.
Definition: Minidump.cpp:159
Minidump(std::shared_ptr< rt_dobby_schema > &containerConfig, const std::shared_ptr< DobbyRdkPluginUtils > &utils, const std::string &rootfsPath)
Constructor - called when plugin is loaded by PluginLauncher.
Definition: Minidump.cpp:41
std::string getDestinationFile()
Creates a target location for the file where minidumps will be loaded.
Definition: Minidump.cpp:138
std::string name() const override
Should return the name of the plugin.
Definition: Minidump.h:44
Basic object that provides the default overrides for a plugin.
Definition: RdkPluginBase.h:34