blob: ed5956f49663ec62c4febc085c41eb48b7f82806 [file] [log] [blame]
#include "config.h"
#include "dump-extensions.hpp"
#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