diff options
author | William A. Kennington III <wak@google.com> | 2019-04-18 15:42:16 -0700 |
---|---|---|
committer | William A. Kennington III <wak@google.com> | 2019-04-18 15:43:00 -0700 |
commit | 47a9ec4ee9b05a9794a09d16762e3ef7318c5489 (patch) | |
tree | 48b295c2afbdd74b5410a14cce61127e2109e35e | |
parent | 26eef26c97beec18d0f96fd1cd792229caded542 (diff) | |
download | phosphor-watchdog-master.tar.gz phosphor-watchdog-master.zip |
Change-Id: Ie6dd1da92ffc225a313db208455ad24f4787a990
Signed-off-by: William A. Kennington III <wak@google.com>
-rw-r--r-- | watchdog.cpp | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/watchdog.cpp b/watchdog.cpp index d529746..bc3ba95 100644 --- a/watchdog.cpp +++ b/watchdog.cpp @@ -101,19 +101,23 @@ void Watchdog::timeOutHandler() action = fallback->action; } - WatchdogInherits::expiredTimerUse(WatchdogInherits::currentTimerUse()); + expiredTimerUse(currentTimerUse()); auto target = actionTargetMap.find(action); if (target == actionTargetMap.end()) { log<level::INFO>("watchdog: Timed out with no target", - entry("ACTION=%s", convertForMessage(action).c_str())); + entry("ACTION=%s", convertForMessage(action).c_str()), + entry("TIMER_USE=%s", + convertForMessage(expiredTimerUse()).c_str())); } else { - log<level::INFO>("watchdog: Timed out", - entry("ACTION=%s", convertForMessage(action).c_str()), - entry("TARGET=%s", target->second.c_str())); + log<level::INFO>( + "watchdog: Timed out", + entry("ACTION=%s", convertForMessage(action).c_str()), + entry("TIMER_USE=%s", convertForMessage(expiredTimerUse()).c_str()), + entry("TARGET=%s", target->second.c_str())); try { |