commit | 65362f497de12394305e2321f4433cc95c2e94ca | [log] [tgz] |
---|---|---|
author | Tim Chao <Tim.Chao@quantatw.com> | Tue Nov 14 14:47:25 2023 +0800 |
committer | Tim Chao <Tim.Chao@quantatw.com> | Fri Nov 24 00:40:53 2023 +0000 |
tree | 9f6b2de20aeffe4656d7e668ea35772907728168 | |
parent | 68d9d40530351e3f3db2c00a25969b0efc9fbe3f [diff] |
Watchdog: Add watchdog LogTimeout property setting function Add function to set LogTimeout property to implement the function of the watchdog not recording logs. Tested: No log bit is set to true : ipmitool raw 0x06 0x24 0x84 0x00 0x00 0x3e 0x64 0x00 No log bit is set to false : ipmitool raw 0x06 0x24 0x04 0x00 0x00 0x3e 0x64 0x00 Reset watchdog timer : ipmitool mc watchdog reset If the LogTimeout property is true, the event will be logged on watchdog expiration. We can use 'ipmitool sel elist' to check the system event log. 1 | 01/26/23 | 00:21:21 PST | Watchdog2 host0 | Timer expired | Asserted If the LogTimeout property is false, the event will not be logged when the watchdog expires. Related-Commit-Id: 66240 Related-Commit-Id: 67727 Change-Id: I9cf9a294be7f584760dc03efaab02384f17e4686 Signed-off-by: Tim Chao <Tim.Chao@quantatw.com>
meson builddir ninja -C builddir
meson builddir -Dbuildtype=minsize -Db_lto=true -Dtests=disabled ninja -C builddir
If any of the dependencies are not found on the host system during configuration, meson automatically gets them via its wrap dependencies mentioned in ipmid/subprojects
.
meson builddir -Dwrap_mode=nofallback ninja -C builddir
meson builddir -Dbuildtype=debug ninja -C builddir
meson builddir -Db_coverage=true -Dtests=enabled ninja -C builddir test ninja -C builddir coverage