Lines Matching refs:sample
83 def match(self, sample: Sample) -> bool:
88 def match(self, sample: Sample) -> bool:
89 for node in sample.callchain:
99 def match(self, sample: Sample) -> bool:
100 return sample.error_code in self.error_code
107 def match(self, sample: Sample) -> bool:
108 return sample.callchain[-1].dso in self.end_dso
115 def match(self, sample: Sample) -> bool:
116 return sample.callchain[-1].symbol in self.end_symbol
123 def match(self, sample: Sample) -> bool:
124 return sample.sample_time in self.sample_time
164 sample = Sample(sample_lines)
166 if self.filter_sample(sample):
167 yield sample
171 def filter_sample(self, sample: Sample) -> bool:
174 if exclude_filter.match(sample):
177 if not include_filter.match(sample):
183 def report(self, sample: Sample):
191 def report(self, sample: Sample):
192 for line in sample.raw_lines:
202 def report(self, sample: Sample):
203 symbol_key = (sample.callchain[-1].dso, sample.callchain[-1].symbol)
204 self.symbol_counters[sample.error_code][symbol_key] += 1
205 self.error_code_counter[sample.error_code] += 1
265 for sample in report_input.get_samples(args.input_file):
266 report_output.report(sample)