Home | History | Annotate | Download | only in scripts

Lines Matching refs:sample_result

179     def add_sample_result(self, sample_result):
180 stop_reason = sample_result.unwinding_result['stop_reason']
185 if result.callchain[-1].vaddr_in_file == sample_result.callchain[-1].vaddr_in_file:
186 # This sample_result duplicates with an existing one.
190 result_list.append(sample_result)
194 for sample_result in self.sample_results[stop_reason]:
195 sample_result.show()
205 def add_sample_result(self, sample_result):
206 function_name = sample_result.callchain[-1].function_name
211 function_result.add_sample_result(sample_result)
231 def add_sample_result(self, sample_result, joined_record):
232 self.unwinding_times.add_time(int(sample_result.unwinding_result['used_time']))
233 if self.should_omit(sample_result, joined_record):
235 filename = sample_result.callchain[-1].filename
239 file_result.add_sample_result(sample_result)
252 def should_omit(self, sample_result, joined_record):
255 if name in sample_result.callchain[-1].filename:
265 if is_callchain_complete(sample_result.callchain):
427 sample_result = SampleResult(original_record.pid, original_record.tid,
430 unwinding_report.add_sample_result(sample_result, joined_record)