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