commit | 5015e955f41b0b01248c0ac2f9d378d25f858c12 | [log] [tgz] |
---|---|---|
author | Lei YU <yulei.sh@bytedance.com> | Thu Dec 03 14:01:31 2020 +0800 |
committer | Tom Joseph <tomjoseph@in.ibm.com> | Fri Dec 18 03:51:52 2020 +0000 |
tree | 4bc6cd9baedb975d020072ae8b9d96161eec3ba3 | |
parent | af378fa3c2ae5b1f7c71f807cf7be2be58d8ec99 [diff] |
sel: Support OEM record 0xCD~0xDF The SEL OEM record is retrieved from logging/entry, and converted to SEL format. Tested: When the BMC has a logging entry like below: { "data": { "AdditionalData": [ "EVENT_DIR=0", "GENERATOR_ID=0", "RECORD_TYPE=205", "SENSOR_DATA=1112141500DDB3BACD000000", "SENSOR_PATH=", "_PID=200" ], "Associations": [], "Id": 1, "Message": "xyz.openbmc_project.Logging.SEL.Error.Created", "Purpose": "xyz.openbmc_project.Software.Version.VersionPurpose.BMC", "Resolved": false, "Severity": "xyz.openbmc_project.Logging.Entry.Level.Informational", "Timestamp": 320246, "UpdateTimestamp": 320246, "Version": "2.9.0-dev-1308-g01b7feb91-dirty" }, "message": "200 OK", "status": "ok" } Verify the SEL entry is expected: SEL Record ID : 0002 Record Type : cd (OEM timestamped) Timestamp : 01/01/1970 01:22:47 Manufactacturer ID : b3dd00 OEM Defined : bacd00010000 [......] Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: Ia9ee86d8cb98ddd8d64f82170e1b57a45af7bed1
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
.