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.cpp56 std::string prettyJSON(uint16_t componentID, uint8_t subType, uint8_t version, in prettyJSON() argument
62 output[pv::createdBy] = getComponentName(componentID, creatorID); in prettyJSON()
136 return prettyJSON(componentID, subType, version, creatorID, json); in getCBORJSON()
189 return prettyJSON(componentID, subType, version, creatorID, json); in getTextJSON()
257 getPythonJSON(uint16_t componentID, uint8_t subType, uint8_t version, in getPythonJSON() argument
263 getNumberString("%04x", componentID); in getPythonJSON()
345 return prettyJSON(componentID, subType, version, in getPythonJSON()
396 getJSON(uint16_t componentID, uint8_t subType, uint8_t version, in getJSON() argument
401 std::string component = getNumberString("%04x", componentID); in getJSON()
413 return getPythonJSON(componentID, subType, version, data, in getJSON()
[all …]
H A Duser_data.cpp69 UserData::UserData(uint16_t componentID, uint8_t subType, uint8_t version, in UserData() argument
76 _header.componentID = componentID; in UserData()
102 return user_data::getJSON(_header.componentID, _header.subType, in getJSON()
H A Dextended_user_data.cpp67 ExtendedUserData::ExtendedUserData(uint16_t componentID, uint8_t subType, in ExtendedUserData() argument
74 _header.componentID = componentID; in ExtendedUserData()
104 return user_data::getJSON(_header.componentID, _header.subType, in getJSON()
H A Dprivate_header.cpp34 PrivateHeader::PrivateHeader(uint16_t componentID, uint32_t obmcLogID, in PrivateHeader() argument
41 _header.componentID = componentID; in PrivateHeader()
112 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.cpp42 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in FailingMTMS()
99 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Duser_data_json.hpp24 getJSON(uint16_t componentID, uint8_t subType, uint8_t version,
H A Dpel.cpp95 _ph = std::make_unique<PrivateHeader>(regEntry.componentID, obmcLogID, in PEL()
152 ud = util::makeFFDCuserDataSection(regEntry.componentID, file); in PEL()
158 << std::hex << regEntry.componentID << " " << file.subType in PEL()
395 getNumberString("0x%X", section.header().componentID), in printSectionInJSON()
484 userData->header().componentID, "SUBTYPE", in addUserDataSection()
977 makeFFDCuserDataSection(uint16_t componentID, const PelFFDCfile& file) in makeFFDCuserDataSection() argument
1029 compID = componentID; in makeFFDCuserDataSection()
H A Dextended_user_header.cpp59 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in ExtendedUserHeader()
189 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Duser_data.hpp53 UserData(uint16_t componentID, uint8_t subType, uint8_t version,
H A Duser_header.cpp58 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in UserHeader()
285 getComponentName(_header.componentID, creatorID), 1); in getJSON()
H A Dprivate_header.hpp56 PrivateHeader(uint16_t componentID, uint32_t obmcLogID, uint64_t timestamp);
H A Dregistry.cpp291 std::string componentID = pelEntry["ComponentID"]; in getComponentID() local
292 id = strtoul(componentID.c_str(), nullptr, 16); in getComponentID()
798 entry.componentID = helper::getComponentID( in lookup()
H A Dpel.hpp512 makeFFDCuserDataSection(uint16_t componentID, const PelFFDCfile& file);
/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.cpp73 EXPECT_EQ(euh.header().componentID, 0x0304); in TEST()
109 EXPECT_EQ(euh.header().componentID, 0x0304); in TEST()
161 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
202 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
236 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
275 EXPECT_EQ(euh.header().componentID, 0x2000); in TEST()
H A Dfailing_mtms_test.cpp48 EXPECT_EQ(fm.header().componentID, 0x2000); in TEST()
100 EXPECT_EQ(fm.header().componentID, 0x2000); in TEST()
H A Duser_data_test.cpp42 EXPECT_EQ(ud.header().componentID, 0x0304); in TEST()
101 EXPECT_EQ(ud.header().componentID, 0x1112); in TEST()
H A Dextended_user_data_test.cpp34 EXPECT_EQ(eud.header().componentID, 0x2000); in TEST()
94 EXPECT_EQ(eud.header().componentID, 0x1112); in TEST()
H A Dsection_header_test.cpp40 EXPECT_EQ(header.componentID, 0x7788); in TEST()
H A Dprivate_header_test.cpp43 EXPECT_EQ(ph.header().componentID, 0x0304); in TEST_F()
171 EXPECT_EQ(ph.header().componentID, 0x3300); in TEST_F()
H A Dgeneric_section_test.cpp35 EXPECT_EQ(section.header().componentID, 0x0304); in TEST()
H A Duser_header_test.cpp45 EXPECT_EQ(uh.header().componentID, 0x0B0C); in TEST()
125 EXPECT_EQ(uh.header().componentID, in TEST()
H A Dpel_test.cpp375 EXPECT_EQ(ud->header().componentID, 0x2000); in TEST_F()
422 EXPECT_EQ(ud->header().componentID, 0x2000); in TEST_F()
536 EXPECT_EQ(ud->header().componentID, in TEST_F()
606 EXPECT_EQ(ud->header().componentID, in TEST_F()
665 EXPECT_EQ(ud->header().componentID, in TEST_F()
704 EXPECT_EQ(ud->header().componentID, 0x2002); in TEST_F()
726 EXPECT_EQ(ud->header().componentID, 0x2002); in TEST_F()

12