Shantappa Teekappanavar | 1ac6162 | 2021-06-22 19:07:29 -0500 | [diff] [blame^] | 1 | #pragma once |
| 2 | |
| 3 | #include <stdint.h> |
| 4 | |
| 5 | /** |
| 6 | * @brief Hostboot dump collector handler |
| 7 | * |
| 8 | * Handle collection due to host going down |
| 9 | */ |
| 10 | |
| 11 | namespace watchdog |
| 12 | { |
| 13 | namespace dump |
| 14 | { |
| 15 | |
| 16 | /** |
| 17 | * @brief Request a dump from the dump manager |
| 18 | * |
| 19 | * Request a dump from the dump manager and register a monitor for observing |
| 20 | * the dump progress. |
| 21 | * |
| 22 | * @param logId - the id of the event log associated with this dump request |
| 23 | * @param timeout - timeout interval in seconds |
| 24 | * |
| 25 | */ |
| 26 | void requestDump(const uint32_t logId, const uint32_t timeout); |
| 27 | |
| 28 | } // namespace dump |
| 29 | } // namespace watchdog |