xref: /openbmc/openpower-hw-diags/util/ffdc.hpp (revision faf33367)
1 #pragma once
2 
3 #include <util/ffdc_file.hpp>
4 
5 #include <vector>
6 
7 namespace util
8 {
9 
10 /**
11  * Create FDDC files from journal messages of relevant executables
12  *
13  * Parse the system journal looking for log entries created by the executables
14  * of interest for logging. For each of these entries create a ffdc trace file
15  * that will be used to create ffdc log entries. These files will be pushed
16  * onto the stack of ffdc files.
17  *
18  * @param   i_files - vector of ffdc files that will become log entries
19  */
20 void createFFDCTraceFiles(std::vector<FFDCFile>& i_files);
21 
22 } // namespace util
23