commit | 7c2810b482786ab2d05cf81633d6abb6ec577212 | [log] [tgz] |
---|---|---|
author | JinFuLin <JeffLin2@quantatw.com> | Fri Dec 02 13:55:28 2022 +0800 |
committer | JeffLin2 <JeffLin2@quantatw.com> | Tue Dec 13 00:53:41 2022 +0000 |
tree | feb8e6ba4fe8e9fe879506711663b44255b67baa | |
parent | 120486dce9fd5665ee8b4ef54248184b2d02903e [diff] [blame] |
Add host error event monitor Add host error event monitor to record event found by host-error-monitor and then add IPMI SEL record to journal. Tested: Test with the following PRs: https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59127 https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59129 https://gerrit.openbmc.org/c/openbmc/host-error-monitor/+/59130 Trigger host error and check result in "ipmitool sel" is as expected. Signed-off-by: JinFuLin <JeffLin2@quantatw.com> Change-Id: I72a49d62d9c3c4248ed8d748aebe2c8171221078
diff --git a/meson.build b/meson.build index 0c7f34c..8e6ac29 100644 --- a/meson.build +++ b/meson.build
@@ -28,6 +28,9 @@ if get_option('log-alarm') cpp_args += '-DSEL_LOGGER_MONITOR_THRESHOLD_ALARM_EVENTS' endif +if get_option('log-host') + cpp_args += '-DSEL_LOGGER_MONITOR_HOST_ERROR_EVENTS' +endif if get_option('send-to-logger') cpp_args += '-DSEL_LOGGER_SEND_TO_LOGGING_SERVICE'