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 | 796a92e | 2021-05-05 13:15:24 -0500 | [diff] [blame] | 5 | #include "dump-extensions/openpower-dumps/openpower_dumps_config.h" |
| 6 | |
Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 7 | #include "dump_manager_resource.hpp" |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 8 | #include "dump_manager_system.hpp" |
| 9 | |
| 10 | namespace phosphor |
| 11 | { |
| 12 | namespace dump |
| 13 | { |
| 14 | |
Patrick Williams | 9b18bf2 | 2022-07-22 19:26:55 -0500 | [diff] [blame] | 15 | void loadExtensions(sdbusplus::bus_t& bus, DumpManagerList& dumpList) |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 16 | { |
Dhruvaraj Subhashchandran | 341d683 | 2021-01-15 06:28:04 -0600 | [diff] [blame] | 17 | dumpList.push_back(std::make_unique<openpower::dump::system::Manager>( |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 18 | bus, SYSTEM_DUMP_OBJPATH, SYSTEM_DUMP_OBJ_ENTRY)); |
Dhruvaraj Subhashchandran | 341d683 | 2021-01-15 06:28:04 -0600 | [diff] [blame] | 19 | dumpList.push_back(std::make_unique<openpower::dump::resource::Manager>( |
Dhruvaraj Subhashchandran | 62337a9 | 2020-11-22 21:24:30 -0600 | [diff] [blame] | 20 | bus, RESOURCE_DUMP_OBJPATH, RESOURCE_DUMP_OBJ_ENTRY)); |
Dhruvaraj Subhashchandran | 8b9b469 | 2020-09-24 11:59:42 -0500 | [diff] [blame] | 21 | } |
| 22 | } // namespace dump |
| 23 | } // namespace phosphor |