Lines Matching +full:data +full:- +full:lines
14 * data for that field.
16 * @param journal - The journal to parse
17 * @param field - Field containing the data to retrieve
18 * @return Data for the speciefied field
22 const char* data{nullptr}; in sdjGetFieldValue() local
26 if (0 == sd_journal_get_data(journal, field, (const void**)&data, &length)) in sdjGetFieldValue()
30 // The data returned by sd_journal_get_data will be prefixed with the in sdjGetFieldValue()
32 const void* eq = memchr(data, '=', length); in sdjGetFieldValue()
35 // get just data following the "=" in sdjGetFieldValue()
36 prefix = (const char*)eq - data + 1; in sdjGetFieldValue()
40 // all the data (should not happen) in sdjGetFieldValue()
45 return std::string{data + prefix, length - prefix}; in sdjGetFieldValue()
56 * Fetch journal entry data for all entries with the specified field equal to
59 * @param field - Field to search on
60 * @param fieldValue - Value to search for
61 * @param max - Maximum number of messages fetch
62 * @return Vector of journal entry data
77 // Compare field value and read data in sdjGetMessages()
121 * @brief Create an FFDCFile object containing the specified lines of text data
125 * @param lines - lines of text data to write to file
128 FFDCFile createFFDCTraceFile(const std::vector<std::string>& lines) in createFFDCTraceFile() argument
134 // Write FFDC lines to file in createFFDCTraceFile()
136 for (const std::string& line : lines) in createFFDCTraceFile()
154 // Seek to beginning of file so error logging system can read data in createFFDCTraceFile()
168 * @param i_files - vector of ffdc files that will become log entries
173 std::vector<std::string> executables{"openpower-hw-diags"}; in createFFDCTraceFiles()