/openbmc/phosphor-logging/extensions/openpower-pels/ |
H A D | private_header.cpp | 108 jsonInsert(ph, pv::sectionVer, getNumberString("%d", privateHeaderVersion), in getJSON() 110 jsonInsert(ph, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON() 111 jsonInsert(ph, pv::createdBy, in getJSON() 113 jsonInsert(ph, "Created at", phCreateTStr, 1); in getJSON() 114 jsonInsert(ph, "Committed at", phCommitTStr, 1); in getJSON() 115 jsonInsert(ph, "Creator Subsystem", creator, 1); in getJSON() 116 jsonInsert(ph, "CSSVER", phCreatorVersionStr, 1); in getJSON() 117 jsonInsert(ph, "Platform Log Id", getNumberString("0x%X", _plid), 1); in getJSON() 118 jsonInsert(ph, "Entry Id", getNumberString("0x%X", _id), 1); in getJSON() 119 jsonInsert(ph, "BMC Event Log Id", std::to_string(_obmcLogID), 1); in getJSON()
|
H A D | extended_user_header.cpp | 186 jsonInsert(json, pv::sectionVer, getNumberString("%d", _header.version), 1); in getJSON() 187 jsonInsert(json, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON() 188 jsonInsert(json, pv::createdBy, in getJSON() 190 jsonInsert(json, "Reporting Machine Type", machineTypeModel(), 1); in getJSON() 191 jsonInsert(json, "Reporting Serial Number", trimEnd(machineSerialNumber()), in getJSON() 193 jsonInsert(json, "FW Released Ver", serverFWVersion(), 1); in getJSON() 194 jsonInsert(json, "FW SubSys Version", subsystemFWVersion(), 1); in getJSON() 195 jsonInsert(json, "Common Ref Time", in getJSON() 204 jsonInsert(json, "Symptom Id Len", getNumberString("%d", _symptomIDSize), in getJSON() 206 jsonInsert(json, "Symptom Id", symptomID(), 1); in getJSON()
|
H A D | failing_mtms.cpp | 96 jsonInsert(json, pv::sectionVer, getNumberString("%d", _header.version), 1); in getJSON() 97 jsonInsert(json, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON() 98 jsonInsert(json, pv::createdBy, in getJSON() 100 jsonInsert(json, "Machine Type Model", _mtms.machineTypeAndModel(), 1); in getJSON() 101 jsonInsert(json, "Serial Number", trimEnd(_mtms.machineSerialNumber()), 1); in getJSON()
|
H A D | user_header.cpp | 282 jsonInsert(uh, pv::sectionVer, getNumberString("%d", userHeaderVersion), 1); in getJSON() 283 jsonInsert(uh, pv::subSection, getNumberString("%d", _header.subType), 1); in getJSON() 284 jsonInsert(uh, "Log Committed by", in getJSON() 286 jsonInsert(uh, "Subsystem", subsystem, 1); in getJSON() 287 jsonInsert(uh, "Event Scope", eventScope, 1); in getJSON() 288 jsonInsert(uh, "Event Severity", severity, 1); in getJSON() 289 jsonInsert(uh, "Event Type", eventType, 1); in getJSON() 291 jsonInsert(uh, "Host Transmission", hostState, 1); in getJSON() 292 jsonInsert(uh, "HMC Transmission", hmcState, 1); in getJSON()
|
H A D | src.cpp | 512 jsonInsert(errorOut, "Message", errorMsg.value(), 2); in getErrorDetails() 620 jsonInsert(printOut, "Callout Count", std::to_string(callout.size()), 2); in getCallouts() 627 jsonInsert( in getCallouts() 630 jsonInsert(printOut, "Priority", in getCallouts() 636 jsonInsert(printOut, "Location Code", entry->locationCode(), 3); in getCallouts() 640 jsonInsert(printOut, "Part Number", in getCallouts() 645 jsonInsert(printOut, "Procedure", in getCallouts() 651 jsonInsert( in getCallouts() 660 jsonInsert(printOut, "CCIN", in getCallouts() 665 jsonInsert(printOut, "Serial Number", in getCallouts() [all …]
|
H A D | json_utils.hpp | 48 void jsonInsert(std::string& jsonStr, const std::string& fieldName,
|
H A D | pel.cpp | 394 jsonInsert(buf, pv::sectionVer, in printSectionInJSON() 396 jsonInsert(buf, pv::subSection, in printSectionInJSON() 398 jsonInsert(buf, pv::createdBy, in printSectionInJSON()
|
H A D | json_utils.cpp | 176 void jsonInsert(std::string& jsonStr, const std::string& fieldName, in jsonInsert() function
|
/openbmc/phosphor-logging/test/openpower-pels/ |
H A D | json_utils_test.cpp | 49 jsonInsert(json, "Key", "Value1", 1); in TEST() 51 jsonInsert(json, "Keyxxxxxxxxxxxxxxxxxxxxxxxxxx", "Value2", 2); in TEST()
|
/openbmc/phosphor-logging/extensions/openpower-pels/tools/ |
H A D | peltool.cpp | 388 jsonInsert(listStr, "SRC", trimEnd(val), 2); in genPELJSON() 396 jsonInsert(listStr, "Message", val, 2); in genPELJSON() 401 jsonInsert(listStr, "SRC", "No SRC", 2); in genPELJSON() 405 jsonInsert(listStr, "PLID", in genPELJSON() 413 jsonInsert(listStr, "CreatorID", val, 2); in genPELJSON() 418 jsonInsert(listStr, "Subsystem", subsystem, 2); in genPELJSON() 430 jsonInsert(listStr, "Commit Time", tmpValStr, 2); in genPELJSON() 435 jsonInsert(listStr, "Sev", severity, 2); in genPELJSON() 438 jsonInsert( in genPELJSON()
|