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 logId; 20 uint32_t unitId; 21 DumpType dumpType; 22 }; 23 24 /** 25 * Request a dump from the dump manager 26 * 27 * Request a dump from the dump manager and register a monitor for observing 28 * the dump progress. 29 * 30 * @param dumpParameters Parameters for the dump request 31 */ 32 void requestDump(const DumpParameters& dumpParameters); 33 34 } // namespace attn 35