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()
98 UserData::getJSON(uint8_t creatorID [[maybe_unused]], in getJSON()
109 bool UserData::shrink(size_t newSize) in shrink()
H A Dpel.hpp373 bool addUserDataSection(std::unique_ptr<UserData> userData);
450 std::unique_ptr<UserData> makeJSONUserDataSection(const nlohmann::json& json);
460 std::unique_ptr<UserData> makeADUserDataSection(const AdditionalData& ad);
473 std::unique_ptr<UserData>
494 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID,
H A Dpel.cpp465 bool PEL::addUserDataSection(std::unique_ptr<UserData> userData) in addUserDataSection()
702 auto ud = std::make_unique<UserData>( in addJournalSections()
728 std::unique_ptr<UserData> makeJSONUserDataSection(const nlohmann::json& json) in makeJSONUserDataSection()
739 return std::make_unique<UserData>( in makeJSONUserDataSection()
745 std::unique_ptr<UserData> makeADUserDataSection(const AdditionalData& ad) in makeADUserDataSection()
849 std::unique_ptr<UserData>
919 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID, in makeFFDCuserDataSection()
926 return std::unique_ptr<UserData>(); in makeFFDCuserDataSection()
978 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.cpp891 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
933 auto ud = static_cast<UserData*>(section.get()); in TEST_F()
1118 auto ud = static_cast<UserData*>(section.get()); in checkJournalSection()
H A Dregistry_test.cpp102 "In the UserData section there is a JSON",
H A Dpel_manager_test.cpp359 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
386 {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