| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/tracing/background_tracing_manager_impl.h" | 5 #include "content/browser/tracing/background_tracing_manager_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/json/json_writer.h" | 10 #include "base/json/json_writer.h" |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU: | 511 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_GPU: |
| 512 return "benchmark,toplevel,gpu"; | 512 return "benchmark,toplevel,gpu"; |
| 513 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC: | 513 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_IPC: |
| 514 return "benchmark,toplevel,ipc"; | 514 return "benchmark,toplevel,ipc"; |
| 515 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP: | 515 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_STARTUP: |
| 516 return "benchmark,toplevel,startup,disabled-by-default-file," | 516 return "benchmark,toplevel,startup,disabled-by-default-file," |
| 517 "disabled-by-default-toplevel.flow," | 517 "disabled-by-default-toplevel.flow," |
| 518 "disabled-by-default-ipc.flow"; | 518 "disabled-by-default-ipc.flow"; |
| 519 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_BLINK_GC: | 519 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_BLINK_GC: |
| 520 return "blink_gc,disabled-by-default-blink_gc"; | 520 return "blink_gc,disabled-by-default-blink_gc"; |
| 521 case BackgroundTracingConfigImpl::CategoryPreset::BENCHMARK_MEMORY_HEAVY: |
| 522 return "-*,disabled-by-default-memory-infra"; |
| 521 case BackgroundTracingConfigImpl::CategoryPreset:: | 523 case BackgroundTracingConfigImpl::CategoryPreset:: |
| 522 BENCHMARK_EXECUTION_METRIC: | 524 BENCHMARK_EXECUTION_METRIC: |
| 523 return "blink.console,v8"; | 525 return "blink.console,v8"; |
| 524 case BackgroundTracingConfigImpl::CategoryPreset::BLINK_STYLE: | 526 case BackgroundTracingConfigImpl::CategoryPreset::BLINK_STYLE: |
| 525 return "blink_style"; | 527 return "blink_style"; |
| 526 case BackgroundTracingConfigImpl::CategoryPreset::CATEGORY_PRESET_UNSET: | 528 case BackgroundTracingConfigImpl::CategoryPreset::CATEGORY_PRESET_UNSET: |
| 527 NOTREACHED(); | 529 NOTREACHED(); |
| 528 } | 530 } |
| 529 NOTREACHED(); | 531 NOTREACHED(); |
| 530 return ""; | 532 return ""; |
| 531 } | 533 } |
| 532 | 534 |
| 533 } // namspace content | 535 } // namspace content |
| OLD | NEW |