Home
last modified time | relevance | path

Searched refs:UserData (Results 1 – 14 of 14) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Duser_data.hpp22 class UserData : public Section class
25 UserData() = delete;
26 ~UserData() override = default;
27 UserData(const UserData&) = default;
28 UserData& operator=(const UserData&) = default;
29 UserData(UserData&&) = default;
30 UserData& operator=(UserData&&) = default;
39 explicit UserData(Stream& pel);
53 UserData(uint16_t componentID, uint8_t subType, uint8_t version,
H A Duser_data.cpp18 void UserData::unflatten(Stream& stream) in unflatten()
34 void UserData::flatten(Stream& stream) const in flatten()
39 UserData::UserData(Stream& pel) in UserData() function in openpower::pels::UserData
53 UserData::UserData(uint16_t componentID, uint8_t subType, uint8_t version, in UserData() function in openpower::pels::UserData
67 void UserData::validate() in validate()
81 std::optional<std::string> UserData::getJSON( in getJSON()
92 bool UserData::shrink(size_t newSize) in shrink()
H A Dpel.hpp374 bool addUserDataSection(std::unique_ptr<UserData> userData);
464 std::unique_ptr<UserData> makeJSONUserDataSection(const nlohmann::json& json);
474 std::unique_ptr<UserData> makeADUserDataSection(const AdditionalData& ad);
489 std::unique_ptr<UserData> makeSysInfoUserDataSection(
511 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID,
H A Dpel.cpp462 bool PEL::addUserDataSection(std::unique_ptr<UserData> userData) in addUserDataSection()
700 auto ud = std::make_unique<UserData>( in addJournalSections()
773 std::unique_ptr<UserData> makeJSONUserDataSection(const nlohmann::json& json) in makeJSONUserDataSection()
794 return std::make_unique<UserData>( in makeJSONUserDataSection()
800 std::unique_ptr<UserData> makeADUserDataSection(const AdditionalData& ad) in makeADUserDataSection()
904 std::unique_ptr<UserData> makeSysInfoUserDataSection( in makeSysInfoUserDataSection()
978 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID, in makeFFDCuserDataSection()
985 return std::unique_ptr<UserData>(); in makeFFDCuserDataSection()
1037 return std::make_unique<UserData>(compID, subType, version, data); in makeFFDCuserDataSection()
H A Dsection_factory.cpp43 section = std::make_unique<UserData>(pelData); in create()
H A DREADME.md10 - [Default UserData sections for BMC created PELs](#default-userdata-sections-for-bmc-created-pels)
16 - [Adding python3 modules for PEL UserData and SRC parsing](#adding-python3-modules-for-pel-userdat…
140 ### FFDC Intended For UserData PEL sections
142 When one needs to add FFDC into the PEL UserData sections, the
145 of files to store in the PEL UserData sections.
157 stored in a unique UserData section. The tuple's arguments are:
191 Upon receiving this data, the PEL code will create UserData sections for each
192 entry in that vector with the following UserData fields:
206 Before adding each of these UserData sections, a check will be done to see if
207 the PEL size will remain under the maximum size of 16KB. If not, the UserData
[all …]
/openbmc/phosphor-logging/test/openpower-pels/
H A Duser_data_test.cpp23 UserData ud(stream); in TEST()
56 UserData ud(stream); in TEST()
67 UserData ud(stream); in TEST()
73 UserData ud(stream); in TEST()
82 UserData ud(0x1112, 0x42, 0x01, data); in TEST()
101 UserData ud(0x1112, 0x42, 0x01, data); in TEST()
H A Dpel_test.cpp880 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
926 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
1114 auto ud = static_cast<UserData*>(section.get()); in checkJournalSection()
1277 auto userData = static_cast<UserData*>(optionalSection.get()); in getDIMMInfo()
H A Dregistry_test.cpp90 "In the UserData section there is a JSON",
H A Dpel_manager_test.cpp340 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
/openbmc/openbmc/meta-openpower/recipes-phosphor/logging/
H A Dhostboot-pel-parsers_git.bb2 DESCRIPTION = "Used by peltool to parse Hostboot UserData sections and SRC details"
H A Dpython3-sbe-log-parsers_git.bb2 DESCRIPTION = "Used by peltool to parse SBE UserData sections and SRC details"
/openbmc/bmcweb/redfish-core/include/generated/enums/
H A Dcomputer_system.hpp195 UserData, enumerator
426 {DecommissionType::UserData, "UserData"},
/openbmc/phosphor-logging/extensions/openpower-pels/registry/
H A DREADME.md575 The PEL daemon can be told to capture pieces of the journal in PEL UserData
579 The 'JournalCapture' field has two formats, one that will create one UserData
606 single UserData section.
608 The second example will create two UserData sections, the first with the most
612 If a UserData section would make the PEL exceed its maximum size of 16KB, it