/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | section_header.hpp | 24 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 D | user_data_json.cpp | 56 std::string prettyJSON(uint16_t componentID, uint8_t subType, uint8_t version, in prettyJSON() argument 62 output[pv::createdBy] = getComponentName(componentID, creatorID); in prettyJSON() 112 std::string getCBORJSON(uint16_t componentID, uint8_t subType, uint8_t version, in getCBORJSON() argument 136 return prettyJSON(componentID, subType, version, creatorID, json); in getCBORJSON() 154 std::string getTextJSON(uint16_t componentID, uint8_t subType, uint8_t version, in getTextJSON() argument 189 return prettyJSON(componentID, subType, version, creatorID, json); in getTextJSON() 205 uint16_t componentID, uint8_t subType, uint8_t version, in getBuiltinFormatJSON() argument 216 return prettyJSON(componentID, subType, version, creatorID, json); in getBuiltinFormatJSON() 220 return getCBORJSON(componentID, subType, version, creatorID, data); in getBuiltinFormatJSON() 224 return getTextJSON(componentID, subType, version, creatorID, data); in getBuiltinFormatJSON() [all …]
|
H A D | user_data.cpp | 69 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 D | extended_user_data.cpp | 67 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 D | private_header.cpp | 34 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 D | extended_user_data.hpp | 54 ExtendedUserData(uint16_t componentID, uint8_t subType, uint8_t version, 113 _header.componentID = static_cast<uint16_t>(componentId); in updateDataSection()
|
H A D | failing_mtms.cpp | 42 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in FailingMTMS() 99 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
H A D | pel.cpp | 100 _ph = std::make_unique<PrivateHeader>(regEntry.componentID, obmcLogID, in PEL() 157 ud = util::makeFFDCuserDataSection(regEntry.componentID, file); in PEL() 163 << std::hex << regEntry.componentID << " " << file.subType in PEL() 399 getNumberString("0x%X", section.header().componentID), in printSectionInJSON() 488 userData->header().componentID, "SUBTYPE", in addUserDataSection() 990 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID, in makeFFDCuserDataSection() argument 1043 compID = componentID; in makeFFDCuserDataSection()
|
H A D | user_data_json.hpp | 24 uint16_t componentID, uint8_t subType, uint8_t version,
|
H A D | extended_user_header.cpp | 59 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in ExtendedUserHeader() 189 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
H A D | user_data.hpp | 53 UserData(uint16_t componentID, uint8_t subType, uint8_t version,
|
H A D | user_header.cpp | 58 _header.componentID = static_cast<uint16_t>(ComponentID::phosphorLogging); in UserHeader() 285 getComponentName(_header.componentID, creatorID), 1); in getJSON()
|
H A D | private_header.hpp | 56 PrivateHeader(uint16_t componentID, uint32_t obmcLogID, uint64_t timestamp);
|
H A D | registry.cpp | 291 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 D | pel.hpp | 511 std::unique_ptr<UserData> makeFFDCuserDataSection(uint16_t componentID,
|
/openbmc/openpower-hw-diags/attn/pel/ |
H A D | section_header.hpp | 48 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 D | extended_user_header_test.cpp | 73 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 D | failing_mtms_test.cpp | 48 EXPECT_EQ(fm.header().componentID, 0x2000); in TEST() 100 EXPECT_EQ(fm.header().componentID, 0x2000); in TEST()
|
H A D | user_data_test.cpp | 42 EXPECT_EQ(ud.header().componentID, 0x0304); in TEST() 101 EXPECT_EQ(ud.header().componentID, 0x1112); in TEST()
|
H A D | extended_user_data_test.cpp | 34 EXPECT_EQ(eud.header().componentID, 0x2000); in TEST() 94 EXPECT_EQ(eud.header().componentID, 0x1112); in TEST()
|
H A D | private_header_test.cpp | 43 EXPECT_EQ(ph.header().componentID, 0x0304); in TEST_F() 171 EXPECT_EQ(ph.header().componentID, 0x3300); in TEST_F()
|
H A D | section_header_test.cpp | 40 EXPECT_EQ(header.componentID, 0x7788); in TEST()
|
H A D | generic_section_test.cpp | 35 EXPECT_EQ(section.header().componentID, 0x0304); in TEST()
|
H A D | user_header_test.cpp | 45 EXPECT_EQ(uh.header().componentID, 0x0B0C); in TEST() 125 EXPECT_EQ(uh.header().componentID, in TEST()
|
H A D | pel_test.cpp | 374 EXPECT_EQ(ud->header().componentID, 0x2000); in TEST_F() 420 EXPECT_EQ(ud->header().componentID, 0x2000); in TEST_F() 534 EXPECT_EQ(ud->header().componentID, in TEST_F() 604 EXPECT_EQ(ud->header().componentID, in TEST_F() 663 EXPECT_EQ(ud->header().componentID, in TEST_F() 702 EXPECT_EQ(ud->header().componentID, 0x2002); in TEST_F() 724 EXPECT_EQ(ud->header().componentID, 0x2002); in TEST_F()
|