Home
last modified time | relevance | path

Searched refs:componentID (Results 1 – 25 of 31) sorted by relevance

12

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dsection_header.hpp24 SectionHeader() : id(0), size(0), version(0), subType(0), componentID(0) {} in SectionHeader()
36 uint16_t componentID) : in SectionHeader()
38 componentID(componentID) in SectionHeader()
65 uint16_t componentID; member
75 sizeof(componentID); in flattenedSize()
88 header.componentID; in operator >>()
101 << header.componentID; in operator <<()
H A Duser_data_json.cpp43 std::string prettyJSON(uint16_t componentID, uint8_t subType, uint8_t version, in prettyJSON() argument
49 output[pv::createdBy] = getComponentName(componentID, creatorID); in prettyJSON()
91 * @param[in] componentID - The comp ID from the UserData section header
99 std::string getCBORJSON(uint16_t componentID, uint8_t subType, uint8_t version, in getCBORJSON() argument
123 return prettyJSON(componentID, subType, version, creatorID, json); in getCBORJSON()
133 * @param[in] componentID - The comp ID from the UserData section header
141 std::string getTextJSON(uint16_t componentID, uint8_t subType, uint8_t version, in getTextJSON() argument
176 return prettyJSON(componentID, subType, version, creatorID, json); in getTextJSON()
183 * @param[in] componentID - The comp ID from the UserData section header
192 uint16_t componentID, uint8_ in getBuiltinFormatJSON() argument
244 getPythonJSON(uint16_t componentID,uint8_t subType,uint8_t version,const std::vector<uint8_t> & data,uint8_t creatorID) getPythonJSON() argument
390 getJSON(uint16_t componentID,uint8_t subType,uint8_t version,const std::vector<uint8_t> & data,uint8_t creatorID,const std::vector<std::string> & plugins) getJSON() argument
[all...]
H A Duser_data.cpp53 UserData::UserData(uint16_t componentID, uint8_t subType, uint8_t version, in UserData() argument
60 _header.componentID = componentID; in UserData()
86 return user_data::getJSON(_header.componentID, _header.subType, in getJSON()
H A Dextended_user_data.cpp55 ExtendedUserData::ExtendedUserData(uint16_t componentID, uint8_t subType, in ExtendedUserData() argument
62 _header.componentID = componentID; in ExtendedUserData()
92 return user_data::getJSON(_header.componentID, _header.subType, in getJSON()
H A Dprivate_header.cpp20 PrivateHeader::PrivateHeader(uint16_t componentID, uint32_t obmcLogID, in PrivateHeader() argument
27 _header.componentID = componentID; in PrivateHeader()
98 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dextended_user_data.hpp54 ExtendedUserData(uint16_t componentID, uint8_t subType, uint8_t version,
113 _header.componentID = static_cast<uint16_t>(componentId); in updateDataSection()
H A Dfailing_mtms.cpp28 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in FailingMTMS()
85 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Duser_data_json.hpp24 uint16_t componentID, uint8_t subType, uint8_t version,
H A Duser_data.hpp53 UserData(uint16_t componentID, uint8_t subType, uint8_t version,
H A Dextended_user_header.cpp45 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in ExtendedUserHeader()
175 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dpel.cpp88 _ph = std::make_unique<PrivateHeader>(regEntry.componentID, obmcLogID, in PEL()
145 ud = util::makeFFDCuserDataSection(regEntry.componentID, file); in PEL()
151 << std::hex << regEntry.componentID << " " << file.subType in PEL()
387 getNumberString("0x%X", section.header().componentID), in printSectionInJSON()
476 userData->header().componentID, "SUBTYPE", in addUserDataSection()
978 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID, in makeFFDCuserDataSection() argument
1031 compID = componentID; in makeFFDCuserDataSection()
H A Dprivate_header.hpp56 PrivateHeader(uint16_t componentID, uint32_t obmcLogID, uint64_t timestamp);
H A Duser_header.cpp43 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in UserHeader()
270 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dregistry.cpp278 std::string componentID = pelEntry["ComponentID"]; in getComponentID() local
279 id = strtoul(componentID.c_str(), nullptr, 16); in getComponentID()
785 entry.componentID = helper::getComponentID( in lookup()
H A Dpel.hpp511 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID,
/openbmc/openpower-hw-diags/attn/pel/
H A Dsection_header.hpp48 SectionHeader() : id(0), size(0), version(0), subType(0), componentID(0) {} in SectionHeader()
60 uint16_t componentID) : in SectionHeader()
62 componentID(componentID) in SectionHeader()
89 uint16_t componentID; member
99 sizeof(componentID); in flattenedSize()
112 header.componentID; in operator >>()
125 << header.componentID; in operator <<()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dextended_user_header_test.cpp61 EXPECT_EQ(euh.header().componentID, 0x0304); in TEST()
97 EXPECT_EQ(euh.header().componentID, 0x0304); in TEST()
149 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
190 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
224 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
263 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
H A Dfailing_mtms_test.cpp36 EXPECT_EQ(fm.header().componentID, 0x2000); in TEST()
88 EXPECT_EQ(fm.header().componentID, 0x2000); in TEST()
H A Duser_data_test.cpp30 EXPECT_EQ(ud.header().componentID, 0x0304); in TEST()
89 EXPECT_EQ(ud.header().componentID, 0x1112); in TEST()
H A Dextended_user_data_test.cpp22 EXPECT_EQ(eud.header().componentID, 0x2000); in TEST()
82 EXPECT_EQ(eud.header().componentID, 0x1112); in TEST()
H A Dsection_header_test.cpp27 EXPECT_EQ(header.componentID, 0x7788); in TEST()
H A Dgeneric_section_test.cpp23 EXPECT_EQ(section.header().componentID, 0x0304); in TEST()
H A Dprivate_header_test.cpp31 EXPECT_EQ(ph.header().componentID, 0x0304); in TEST_F()
159 EXPECT_EQ(ph.header().componentID, 0x3300); in TEST_F()
H A Duser_header_test.cpp33 EXPECT_EQ(uh.header().componentID, 0x0B0C); in TEST()
113 EXPECT_EQ(uh.header().componentID, in TEST()
H A Dpel_test.cpp362 EXPECT_EQ(ud->header().componentID, 0x2000); in TEST_F()
408 EXPECT_EQ(ud->header().componentID, 0x2000); in TEST_F()
522 EXPECT_EQ(ud->header().componentID, in TEST_F()
592 EXPECT_EQ(ud->header().componentID, in TEST_F()
651 EXPECT_EQ(ud->header().componentID, in TEST_F()
690 EXPECT_EQ(ud->header().componentID, 0x2002); in TEST_F()
712 EXPECT_EQ(ud->header().componentID, 0x2002); in TEST_F()

12