blob: ed5956f49663ec62c4febc085c41eb48b7f82806 [file] [log] [blame]
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -05001#include "config.h"
2
3#include "dump-extensions.hpp"
4
Dhruvaraj Subhashchandran62337a92020-11-22 21:24:30 -06005#include "dump_manager_resource.hpp"
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -05006#include "dump_manager_system.hpp"
7
8namespace phosphor
9{
10namespace dump
11{
12
13void loadExtensions(sdbusplus::bus::bus& bus, DumpManagerList& dumpList)
14{
15
Dhruvaraj Subhashchandran341d6832021-01-15 06:28:04 -060016 dumpList.push_back(std::make_unique<openpower::dump::system::Manager>(
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -050017 bus, SYSTEM_DUMP_OBJPATH, SYSTEM_DUMP_OBJ_ENTRY));
Dhruvaraj Subhashchandran341d6832021-01-15 06:28:04 -060018 dumpList.push_back(std::make_unique<openpower::dump::resource::Manager>(
Dhruvaraj Subhashchandran62337a92020-11-22 21:24:30 -060019 bus, RESOURCE_DUMP_OBJPATH, RESOURCE_DUMP_OBJ_ENTRY));
Dhruvaraj Subhashchandran8b9b4692020-09-24 11:59:42 -050020}
21} // namespace dump
22} // namespace phosphor