Chromium Code Reviews| Index: tools/perf/benchmarks/battor.py |
| diff --git a/tools/perf/benchmarks/battor.py b/tools/perf/benchmarks/battor.py |
| index 2cbc14ecfae92af0266f99c48e6944e92fb115e2..0cd0ce094ce94ea3cb58861c23c2dda0cd0efba2 100644 |
| --- a/tools/perf/benchmarks/battor.py |
| +++ b/tools/perf/benchmarks/battor.py |
| @@ -3,6 +3,7 @@ |
| # found in the LICENSE file. |
| from core import perf_benchmark |
| +from telemetry.timeline import chrome_trace_category_filter |
| from telemetry.web_perf import timeline_based_measurement |
| import page_sets |
| from telemetry import benchmark |
| @@ -13,7 +14,9 @@ from telemetry import benchmark |
| class _BattOrBenchmark(perf_benchmark.PerfBenchmark): |
| def CreateTimelineBasedMeasurementOptions(self): |
| - options = timeline_based_measurement.Options() |
| + options = timeline_based_measurement.Options( |
| + chrome_trace_category_filter.ChromeTraceCategoryFilter()) |
|
nednguyen
2016/08/23 17:19:28
Oh, this may mean all the things by default.
+Zhe
|
| + options.config.chrome_trace_config.category_filter.AddFilterString('rail') |
| options.config.enable_battor_trace = True |
| options.config.enable_chrome_trace = True |
| options.config.enable_atrace_trace = True |