1 #pragma once
2 #include <cstdint>
3 
4 namespace attn
5 {
6 
7 /** @brief Dump types supported by dump request */
8 enum class DumpType
9 {
10     Hostboot,
11     Hardware,
12     SBE
13 };
14 
15 /** @brief Structure for dump request parameters */
16 class DumpParameters
17 {
18   public:
19     uint32_t unitId;
20     DumpType dumpType;
21 };
22 
23 /**
24  * Request a dump from the dump manager
25  *
26  * Request a dump from the dump manager and register a monitor for observing
27  * the dump progress.
28  *
29  * @param i_logId        The platform log ID associated with the dump request.
30  * @param dumpParameters Parameters for the dump request
31  */
32 void requestDump(uint32_t i_logId, const DumpParameters& dumpParameters);
33 
34 } // namespace attn
35