Shantappa Teekappanavar | 1ac6162 | 2021-06-22 19:07:29 -0500 | [diff] [blame] | 1 | #pragma once |
| 2 | |
| 3 | #include <cstddef> // for size_t |
Jayanth Othayoth | 72896a3 | 2025-06-07 04:03:22 -0500 | [diff] [blame] | 4 | #include <cstdint> |
Shantappa Teekappanavar | 1ac6162 | 2021-06-22 19:07:29 -0500 | [diff] [blame] | 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 |