Dhruvaraj Subhashchandran | 580d91d | 2020-04-22 12:29:18 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
Jayanth Othayoth | 3fc6df4 | 2021-04-08 03:45:24 -0500 | [diff] [blame] | 3 | #include <filesystem> |
Dhruvaraj Subhashchandran | 580d91d | 2020-04-22 12:29:18 -0500 | [diff] [blame] | 4 | |
| 5 | namespace phosphor |
| 6 | { |
| 7 | namespace dump |
| 8 | { |
| 9 | namespace offload |
| 10 | { |
| 11 | |
Dhruvaraj Subhashchandran | 580d91d | 2020-04-22 12:29:18 -0500 | [diff] [blame] | 12 | /** |
| 13 | * @brief Kicks off the instructions to |
| 14 | * start offload of the dump using dbus |
| 15 | * |
| 16 | * @param[in] file - dump filename with relative path. |
| 17 | * @param[in] dumpId - id of the dump. |
| 18 | * @param[in] writePath[in] - path to write the dump file. |
| 19 | * |
| 20 | **/ |
Jayanth Othayoth | 3fc6df4 | 2021-04-08 03:45:24 -0500 | [diff] [blame] | 21 | void requestOffload(std::filesystem::path file, uint32_t dumpId, |
| 22 | std::string writePath); |
Dhruvaraj Subhashchandran | 580d91d | 2020-04-22 12:29:18 -0500 | [diff] [blame] | 23 | |
| 24 | } // namespace offload |
| 25 | } // namespace dump |
| 26 | } // namespace phosphor |