Lines Matching full:ffdc
36 uint32_t FFDC::createPEL(const char* path, uint32_t src6, const char* msg, in createPEL()
45 lg2::info("Creating PEL for OCC{INST} with SBE FFDC: {PATH} - SRC6: {SRC}", in createPEL()
56 // Add journal traces to PEL FFDC in createPEL()
98 void FFDC::createOCCResetPEL(unsigned int instance, const char* path, int err, in createOCCResetPEL()
136 FFDCFiles ffdc; in createOCCResetPEL() local
137 // Add journal traces to PEL FFDC in createOCCResetPEL()
139 addJournalEntries(ffdc, "openpower-occ-control", 25); in createOCCResetPEL()
155 method.append(path, level, additionalData, ffdc); in createOCCResetPEL()
164 // Reads the SBE FFDC file and create an error log
165 void FFDC::analyzeEvent() in analyzeEvent()
208 lg2::error("Couldn't create temporary FFDC file"); in analyzeEvent()
223 lg2::error("Couldn't write temporary FFDC file"); in analyzeEvent()
240 std::unique_ptr<FFDCFile> FFDC::addJournalEntries( in addJournalEntries()
259 // Write JSON data into FFDC file and return the file
260 std::unique_ptr<FFDCFile> FFDC::makeJsonFFDCFile(const nlohmann::json& ffdcData) in makeJsonFFDCFile()
278 "makeJsonFFDCFile: Failed call to write JSON FFDC file, errno={ERR}", in makeJsonFFDCFile()
292 nlohmann::json FFDC::getJournalEntries(int numLines, std::string executable) in getJournalEntries()
357 std::string FFDC::getTimeStamp(sd_journal* journal) in getTimeStamp()
386 std::string FFDC::getFieldValue(sd_journal* journal, const std::string& field) in getFieldValue()
427 lg2::error("FFDCFile: Could not open FFDC file {FILE}. errno {ERR}", in FFDCFile()