commit | bae471cb4e9faeaf183664252b51e8c39d71fc95 | [log] [tgz] |
---|---|---|
author | William A. Kennington III <wak@google.com> | Fri Jun 15 10:38:01 2018 -0700 |
committer | Emily Shaffer <emilyshaffer@google.com> | Fri Sep 21 21:18:06 2018 +0000 |
tree | 232536e41160a071d53760936968ba2e0af8ab5f | |
parent | 1f4bc1f079243df22aa1d47e82625620ff2de634 [diff] |
app/watchdog: Only log internal failures once Logging internal failures to the phosphor-logger is a slow process that can take up to 5 seconds. If we do this for each watchdog reset for a relatively fast watchdog we will clog up the channel and fill the ESEL log with errors. We probably don't want that kind of information to build up. Instead, only report errors to the ESEL when the state of the internal watchdog transitions from HEALTHY -> UNHEALTHY. Tested: Works on zaius when booting and terminating the watchdog daemon while it is ticking. Produces the expected single error in the log and only delays the IPMI channel once. Change-Id: I8110ba66c4a85e188666a34cb6d055bdbec30622 Signed-off-by: William A. Kennington III <wak@google.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To clean the repository run ./bootstrap.sh clean
.