1 #include "config.h" 2 3 #include "dump-extensions.hpp" 4 5 #include "dump-extensions/openpower-dumps/openpower_dumps_config.h" 6 7 #include "dump_manager_resource.hpp" 8 #include "dump_manager_system.hpp" 9 10 namespace phosphor 11 { 12 namespace dump 13 { 14 15 void loadExtensions(sdbusplus::bus_t& bus, DumpManagerList& dumpList) 16 { 17 dumpList.push_back(std::make_unique<openpower::dump::system::Manager>( 18 bus, SYSTEM_DUMP_OBJPATH, SYSTEM_DUMP_OBJ_ENTRY)); 19 dumpList.push_back(std::make_unique<openpower::dump::resource::Manager>( 20 bus, RESOURCE_DUMP_OBJPATH, RESOURCE_DUMP_OBJ_ENTRY)); 21 } 22 } // namespace dump 23 } // namespace phosphor 24