blob: b47ba55a56662b36a67c0ca83e20b9d1e7bddab4 [file] [log] [blame]
#include "config.h"
#include "dump-extensions.hpp"
#include "dump-extensions/openpower-dumps/openpower_dumps_config.h"
#include "dump_manager_resource.hpp"
#include "dump_manager_system.hpp"
namespace phosphor
{
namespace dump
{
void loadExtensions(sdbusplus::bus::bus& bus, DumpManagerList& dumpList)
{
dumpList.push_back(std::make_unique<openpower::dump::system::Manager>(
bus, SYSTEM_DUMP_OBJPATH, SYSTEM_DUMP_OBJ_ENTRY));
dumpList.push_back(std::make_unique<openpower::dump::resource::Manager>(
bus, RESOURCE_DUMP_OBJPATH, RESOURCE_DUMP_OBJ_ENTRY));
}
} // namespace dump
} // namespace phosphor