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