1 #pragma once 2 3 #include <cstddef> // for size_t 4 #include <cstdint> 5 #include <map> 6 #include <string> 7 #include <vector> 8 9 namespace watchdog 10 { 11 namespace dump 12 { 13 14 constexpr int maxTraceLen = 64; // characters 15 16 constexpr auto pathLogging = "/xyz/openbmc_project/logging"; 17 constexpr auto levelPelError = "xyz.openbmc_project.Logging.Entry.Level.Error"; 18 19 /** 20 * @brief Commit watchdog timeout handler failure event to log 21 * 22 * @param timeout - timeout interval in seconds 23 */ 24 void eventWatchdogTimeout(const uint32_t timeout); 25 26 } // namespace dump 27 } // namespace watchdog 28