Chromium Code Reviews| Index: scripts/slave/recipe_modules/auto_bisect/bisector.py |
| diff --git a/scripts/slave/recipe_modules/auto_bisect/bisector.py b/scripts/slave/recipe_modules/auto_bisect/bisector.py |
| index 23c69450c4cf8787885a1edb03bf6ff6b2d079a0..46b9ce62128e4f26c58b469c11a5598b370c5894 100644 |
| --- a/scripts/slave/recipe_modules/auto_bisect/bisector.py |
| +++ b/scripts/slave/recipe_modules/auto_bisect/bisector.py |
| @@ -666,6 +666,16 @@ class Bisector(object): |
| self.api.m.step('Debug Info', []) |
| self.api.m.step.active_result.presentation.logs['Debug Info'] = lines |
| + def print_result_debug_info_with_cpu_snapshot(self): |
| + """Prints extra debug info with CPU snapshot at the |
| + end of the bisect process.""" |
| + lines = self._results_debug_message().splitlines() |
| + for revision in self.revisions: |
| + lines.append(revision.snapshot) |
| + self.api.m.step('Debug Info with CPU Snapshot', []) |
| + self.api.m.step.active_result.presentation.\ |
| + logs['Debug Info with CPU Snapshot'] = lines |
|
RobertoCN
2016/06/03 18:01:42
nit: alignment. I would break just after `logs[` t
|
| + |
| def post_result(self, halt_on_failure=False): |
| """Posts bisect results to Perf Dashboard.""" |
| self.api.m.perf_dashboard.set_default_config() |