Lines Matching refs:trace_results
15 def _GetResults(trace_results, controller, output, compress, write_json, argument
28 trace_results = [x for x in controller.all_results if not (x.source_name ==
31 if not trace_results:
36 trace_results = output_generator.MergeTraceResultsIfNeeded(trace_results)
39 html_file = trace_results[0].source_name + '.html'
40 result = output_generator.GenerateHTMLOutput(trace_results, html_file)
42 elif compress and len(trace_results) == 1:
43 result = output or trace_results[0].source_name + '.gz'
44 util.WriteDataToCompressedFile(trace_results[0].raw_data, result)
45 elif len(trace_results) > 1:
48 util.ArchiveData(trace_results, result)
52 f.write(trace_results[0].raw_data)
54 result = trace_results[0].source_name
56 f.write(trace_results[0].raw_data)