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>
H A Dpel.cpp470 bool PEL::addUserDataSection(std::unique_ptr<UserData> userData) in addUserDataSection()
708 auto ud = std::make_unique<UserData>( in addJournalSections()
781 std::unique_ptr<UserData> makeJSONUserDataSection(const nlohmann::json& json) in makeJSONUserDataSection()
792 return std::make_unique<UserData>( in makeJSONUserDataSection()
798 std::unique_ptr<UserData> makeADUserDataSection(const AdditionalData& ad) in makeADUserDataSection()
902 std::unique_ptr<UserData> makeSysInfoUserDataSection( in makeSysInfoUserDataSection()
976 std::unique_ptr<UserData>
983 return std::unique_ptr<UserData>(); in makeFFDCuserDataSection()
1035 return std::make_unique<UserData>(compID, subType, version, data); in makeFFDCuserDataSection()
H A DREADME.md140 ### 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
210 ## Default UserData sections for BMC created PELs
218 it will be saved in a UserData section as a JSON string.
320 added into a PEL UserData section for debug.
[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.cpp894 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
940 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
1128 auto ud = static_cast<UserData*>(section.get()); in checkJournalSection()
1290 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()
/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.hpp193 UserData, enumerator
400 {DecommissionType::UserData, "UserData"},
/openbmc/phosphor-logging/extensions/openpower-pels/registry/
H A DREADME.md573 The PEL daemon can be told to capture pieces of the journal in PEL UserData
577 The 'JournalCapture' field has two formats, one that will create one UserData
604 single UserData section.
606 The second example will create two UserData sections, the first with the most
610 If a UserData section would make the PEL exceed its maximum size of 16KB, it