commit | f858736fb5887bfcb7fd04eb7cd06c88b263856b | [log] [tgz] |
---|---|---|
author | Souvik Roy <souvikroyofficial10@gmail.com> | Thu Sep 25 09:56:20 2025 +0000 |
committer | Souvik Roy <souvikroyofficial10@gmail.com> | Mon Oct 13 05:30:38 2025 +0000 |
tree | 190c48d6b4533b3624fcd59682bccb4f5effff3f | |
parent | 7f6cd4c6be51d714fa975cd5ca107b0c9b4d199a [diff] |
Implement async file logger This commit implements asynchronous, multi-thread safe file logging. Certain log messages in the repo, for example VPD collection logs, need to be logged from multiple threads in an asynchronous manner. Change-Id: I1a7c28cc37f9e88f04e6af89cf4042d032c8cf90 Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>
This repository hosts code for OpenPower and IBM IPZ format VPD parsers. Both OpenPower VPD and IPZ VPD formats are structured binaries that consist of records and keywords. A record is a collection of multiple keywords. More information about the format can be found at a broken link.
The repository consists of two distinct applications, which are:
This is a build-time YAML driven application that parses the OpenPower VPD format and uses the YAML configuration (see extra-properties-example.yaml and writefru.yaml) to determine:
The application instance must be passed in the file path to the VPD (this can, for example, be a sysfs path exposed by the EEPROM device driver) and also the D-Bus object path(s) that EEPROM data needs to be published under.
This parser is can be built by passing in the --enable-ibm-parser
configure option. This parser differs from the OpenPower VPD parser in the following ways:
#
and are > 255 bytes in length).Making the application runtime JSON driven allows us to support multiple systems (with different FRU configurations) to be supported in a single code image as well as making the application more flexible for future improvements.