commit | 448e74e811d94a70793df9f036ec4d9a1bdb1501 | [log] [tgz] |
---|---|---|
author | Tom Joseph <tomjoseph@in.ibm.com> | Mon Jul 24 23:08:56 2017 +0530 |
committer | Patrick Williams <patrick@stwcx.xyz> | Tue Jul 25 20:42:22 2017 +0000 |
tree | 7139d2c4c42a353d352dc05d03c07754b7a0b78e | |
parent | 6ec7daab838fd1af86dc35d2c0de8712c8eefa29 [diff] |
Add inventory path metadata to host event log entry The ESEL data contains sensor number to related to the event. The generated code maps sensor number to inventory path. The inventory path is added as metadata to the log entry for the admin to figure out the inventory affected by the system event. The generated header for Host event exception type is generated in the org/open_power/Host/Event/error.hpp. Phosphor repositories should not include open power specific header files. The eventual plan to is to move the code to add ESEL to an OEM repo, till then we would check in the header file in the repo. TODO: openbmc/openbmc#1658 The elog-errors.hpp is checked in for the CI to pass. TODO: openbmc/openbmc#1772 issue would take care, so that CI passes without the checking in elog-errors.hpp. Resolves openbmc/openbmc#1920 Change-Id: I31d68de475ef84b8755c5de6d7ce6d311dd32214 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
To build this package, do the following steps:
1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make
To full clean the repository again run ./bootstrap.sh clean
.