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..5a5f3a53d348d8bb4689b4d157ca66896e3bd092 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): |
|
prasadv
2016/06/07 22:00:49
can we rename this method name shorter? "print_cpu
|
| + """Prints extra debug info with CPU snapshot at the |
|
prasadv
2016/06/07 22:00:49
Function docstring should be of single line summar
|
| + end of the bisect process.""" |
| + lines = self._results_debug_message().splitlines() |
| + for revision in self.revisions: |
| + lines.append(str(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 |
|
prasadv
2016/06/07 22:00:49
Need 4 space indentation. Or otherwise declare
st
|
| + |
| def post_result(self, halt_on_failure=False): |
| """Posts bisect results to Perf Dashboard.""" |
| self.api.m.perf_dashboard.set_default_config() |