Home
last modified time | relevance | path

Searched refs:symptomID (Results 1 – 6 of 6) sorted by relevance

/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dextended_user_header.cpp136 if (regEntry.src.symptomID) in createSymptomID()
138 idWords = regEntry.src.symptomID.value(); in createSymptomID()
145 auto symptomID = src.asciiString().substr(0, 8); in createSymptomID() local
151 symptomID.push_back('_'); in createSymptomID()
159 symptomID += word; in createSymptomID()
162 std::copy(symptomID.begin(), symptomID.end(), in createSymptomID()
206 jsonInsert(json, "Symptom Id", symptomID(), 1); in getJSON()
H A Dextended_user_header.hpp148 std::string symptomID() const in symptomID() function in openpower::pels::ExtendedUserHeader
H A Dregistry.hpp92 std::optional<std::vector<WordNum>> symptomID; member
H A Dregistry.cpp809 entry.src.symptomID = helper::getSRCSymptomIDFields(src, name); in lookup()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dextended_user_header_test.cpp80 EXPECT_EQ(euh.symptomID(), "BD8D4200_12345678"); in TEST()
116 EXPECT_EQ(euh.symptomID(), ""); in TEST()
170 EXPECT_EQ(euh.symptomID(), "BD8D5678_03030310"); in TEST()
194 entry.src.symptomID = {3, 4, 5, 6, 7, 8, 9}; in TEST()
210 EXPECT_EQ(euh.symptomID(), "BD8D5678_03030310_04040404_05050505_" in TEST()
228 entry.src.symptomID = {8, 9}; in TEST()
244 EXPECT_EQ(euh.symptomID(), "BD8D5678_08080808_09090909"); in TEST()
266 entry.src.symptomID = {9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9}; in TEST()
283 EXPECT_EQ(euh.symptomID(), in TEST()
H A Dregistry_test.cpp265 auto& sid = entry->src.symptomID; in TEST_F()
317 EXPECT_FALSE(entry->src.symptomID); in TEST_F()