Lines Matching refs:report
42 def write_to_file(filename, data, report=False):
49 @param report: Whether we'll use GDB to get a backtrace report of the
58 if report:
66 Get all valid output directories for the core file and the report. It works
76 the core dump and the crash report.
128 Use GDB to produce a report with information about a given core.
146 # Sanitize output before passing it to the report
153 report = "Program: %s\n" % exe_path
155 report += "PID: %s\n" % crashed_pid
157 report += "Signal: %s\n" % signal
159 report += "Hostname: %s\n" % hostname
161 report += ("Time of the crash (according to kernel): %s\n" %
163 report += "Program backtrace:\n%s\n" % backtrace
165 report_path = os.path.join(basedir, 'report')
166 write_to_file(report_path, report)
175 @param report: Whether reports are to be generated for those core files.
182 core_path = write_to_file(core_path, core_file, report=True)