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 "components/tracing/tracing_switches.h" | 5 #include "components/tracing/common/tracing_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Causes TRACE_EVENT flags to be recorded from startup. | 9 // Causes TRACE_EVENT flags to be recorded from startup. |
10 // This flag will be ignored if --trace-startup or --trace-shutdown is provided. | 10 // This flag will be ignored if --trace-startup or --trace-shutdown is provided. |
11 const char kTraceConfigFile[] = "trace-config-file"; | 11 const char kTraceConfigFile[] = "trace-config-file"; |
12 | 12 |
13 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, | 13 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, |
14 // can specify the specific trace categories to include (e.g. | 14 // can specify the specific trace categories to include (e.g. |
15 // --trace-shutdown=base,net) otherwise, all events are recorded. | 15 // --trace-shutdown=base,net) otherwise, all events are recorded. |
(...skipping 30 matching lines...) Expand all Loading... |
46 // all events since startup. | 46 // all events since startup. |
47 const char kTraceStartupFile[] = "trace-startup-file"; | 47 const char kTraceStartupFile[] = "trace-startup-file"; |
48 | 48 |
49 // Sends a pretty-printed version of tracing info to the console. | 49 // Sends a pretty-printed version of tracing info to the console. |
50 const char kTraceToConsole[] = "trace-to-console"; | 50 const char kTraceToConsole[] = "trace-to-console"; |
51 | 51 |
52 // Sets the target URL for uploading tracing data. | 52 // Sets the target URL for uploading tracing data. |
53 const char kTraceUploadURL[] = "trace-upload-url"; | 53 const char kTraceUploadURL[] = "trace-upload-url"; |
54 | 54 |
55 } // namespace switches | 55 } // namespace switches |
OLD | NEW |