blob: 57bbdf83410e1de70357544252121e9de9082395 [file] [log] [blame]
Shantappa Teekappanavar1ac61622021-06-22 19:07:29 -05001#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
11namespace watchdog
12{
13namespace 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 */
26void requestDump(const uint32_t logId, const uint32_t timeout);
27
28} // namespace dump
29} // namespace watchdog