Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 1 | #include "config.h" |
| 2 | |
| 3 | #include "dump-extensions.hpp" |
| 4 | |
Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 5 | #include "dump_manager_resource.hpp" |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 6 | #include "dump_manager_system.hpp" |
| 7 | |
| 8 | namespace phosphor |
| 9 | { |
| 10 | namespace dump |
| 11 | { |
| 12 | |
| 13 | void loadExtensions(sdbusplus::bus::bus& bus, DumpManagerList& dumpList) |
| 14 | { |
| 15 | |
Dhruvaraj Subhashchandran | 341d683 | 2021-01-15 06:28:04 -0600 | [diff] [blame] | 16 | dumpList.push_back(std::make_unique<openpower::dump::system::Manager>( |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 17 | bus, SYSTEM_DUMP_OBJPATH, SYSTEM_DUMP_OBJ_ENTRY)); |
Dhruvaraj Subhashchandran | 341d683 | 2021-01-15 06:28:04 -0600 | [diff] [blame] | 18 | dumpList.push_back(std::make_unique<openpower::dump::resource::Manager>( |
Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 19 | bus, RESOURCE_DUMP_OBJPATH, RESOURCE_DUMP_OBJ_ENTRY)); |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 20 | } |
| 21 | } // namespace dump |
| 22 | } // namespace phosphor |