blob: 8ed8f7bcc4198e9c3497da451f7d9f5c21900691 [file] [log] [blame]
Shantappa Teekappanavar1ac61622021-06-22 19:07:29 -05001#pragma once
2
3#include <cstddef> // for size_t
Jayanth Othayoth72896a32025-06-07 04:03:22 -05004#include <cstdint>
Shantappa Teekappanavar1ac61622021-06-22 19:07:29 -05005#include <map>
6#include <string>
7#include <vector>
8
9namespace watchdog
10{
11namespace dump
12{
13
14constexpr int maxTraceLen = 64; // characters
15
16constexpr auto pathLogging = "/xyz/openbmc_project/logging";
17constexpr 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 */
24void eventWatchdogTimeout(const uint32_t timeout);
25
26} // namespace dump
27} // namespace watchdog