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() = 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.cpp34 void UserData::unflatten(Stream& stream) in unflatten()
50 void UserData::flatten(Stream& stream) const in flatten()
55 UserData::UserData(Stream& pel) in UserData() function in openpower::pels::UserData
69 UserData::UserData(uint16_t componentID, uint8_t subType, uint8_t version, in UserData() function in openpower::pels::UserData
83 void UserData::validate() in validate()
97 std::optional<std::string> UserData::getJSON( in getJSON()
108 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.cpp474 bool PEL::addUserDataSection(std::unique_ptr<UserData> userData) in addUserDataSection()
712 auto ud = std::make_unique<UserData>( in addJournalSections()
785 std::unique_ptr<UserData> makeJSONUserDataSection(const nlohmann::json& json) in makeJSONUserDataSection()
806 return std::make_unique<UserData>( in makeJSONUserDataSection()
812 std::unique_ptr<UserData> makeADUserDataSection(const AdditionalData& ad) in makeADUserDataSection()
916 std::unique_ptr<UserData> makeSysInfoUserDataSection( in makeSysInfoUserDataSection()
990 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID, in makeFFDCuserDataSection()
997 return std::unique_ptr<UserData>(); in makeFFDCuserDataSection()
1049 return std::make_unique<UserData>(compID, subType, version, data); in makeFFDCuserDataSection()
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 …]
H A Dsection_factory.cpp55 section = std::make_unique<UserData>(pelData); in create()
/openbmc/phosphor-logging/test/openpower-pels/
H A Duser_data_test.cpp35 UserData ud(stream); in TEST()
68 UserData ud(stream); in TEST()
79 UserData ud(stream); in TEST()
85 UserData ud(stream); in TEST()
94 UserData ud(0x1112, 0x42, 0x01, data); in TEST()
113 UserData ud(0x1112, 0x42, 0x01, data); in TEST()
H A Dpel_test.cpp892 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
938 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
1126 auto ud = static_cast<UserData*>(section.get()); in checkJournalSection()
1289 auto userData = static_cast<UserData*>(optionalSection.get()); in getDIMMInfo()
H A Dregistry_test.cpp102 "In the UserData section there is a JSON",
H A Dpel_manager_test.cpp360 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
362 // Check that there was a UserData section added that 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
402 {DecommissionType::UserData, "UserData"},
/openbmc/phosphor-logging/extensions/openpower-pels/registry/
H A DREADME.md574 The PEL daemon can be told to capture pieces of the journal in PEL UserData
578 The 'JournalCapture' field has two formats, one that will create one UserData
605 single UserData section.
607 The second example will create two UserData sections, the first with the most
611 If a UserData section would make the PEL exceed its maximum size of 16KB, it