diff options
author | Tom Joseph <tomjoseph@in.ibm.com> | 2017-06-30 18:52:56 +0530 |
---|---|---|
committer | Tom Joseph <tomjoseph@in.ibm.com> | 2017-07-08 09:06:47 +0530 |
commit | 6edc8a0406bc31fc24f46f15b4db6f7ed0453f8a (patch) | |
tree | 62ed91c3c6bbcb3665574c4c60399ec1567e571f /configure.ac | |
parent | 6b7a14376a46e73b61df9c78771e2063bc0f4008 (diff) | |
download | phosphor-host-ipmid-6edc8a0406bc31fc24f46f15b4db6f7ed0453f8a.tar.gz phosphor-host-ipmid-6edc8a0406bc31fc24f46f15b4db6f7ed0453f8a.zip |
Convert a log entry into a SEL record
Check the DBUS logging entry for callout associations, if there
is a mapping between the inventory path and sensor number then
populate the SEL record. Otherwise log a SEL against the sytem
event sensor.
Resolves openbmc/openbmc#1516
Change-Id: I516bdac70cf39260af1744a9cdb118d763009bd5
Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4e8476a..8b28ff0 100644 --- a/configure.ac +++ b/configure.ac @@ -85,6 +85,10 @@ AS_IF([test "x$FRU_YAML_GEN" == "x"], [FRU_YAML_GEN="example.yaml"]) FRUGEN="$PYTHON $srcdir/scripts/fru_gen.py -i $FRU_YAML_GEN" AC_SUBST(FRUGEN) +AC_DEFINE(CALLOUT_FWD_ASSOCIATION, "callout", [The name of the callout's forward association.]) +AC_DEFINE(BOARD_SENSOR, "/xyz/openbmc_project/inventory/system/chassis/motherboard", [The inventory path to the motherboard fault sensor.]) +AC_DEFINE(SYSTEM_SENSOR, "/xyz/openbmc_project/inventory/system", [The inventory path to the system event sensor.]) + # Soft Power off related. AS_IF([test "x$enable_softoff" != "xno"], # Dbus service name |