cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / components / tracing / tracing_switches.cc
blobba3c1b158fb1a9ffe12308138d6bd25b18bcb460
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
3 // found in the LICENSE file.
5 #include "components/tracing/tracing_switches.h"
7 namespace switches {
9 // Causes TRACE_EVENT flags to be recorded from startup.
10 // This flag will be ignored if --trace-startup or --trace-shutdown is provided.
11 const char kTraceConfigFile[] = "trace-config-file";
13 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
14 // can specify the specific trace categories to include (e.g.
15 // --trace-shutdown=base,net) otherwise, all events are recorded.
16 // --trace-shutdown-file can be used to control where the trace log gets stored
17 // to since there is otherwise no way to access the result.
18 const char kTraceShutdown[] = "trace-shutdown";
20 // If supplied, sets the file which shutdown tracing will be stored into, if
21 // omitted the default will be used "chrometrace.log" in the current directory.
22 // Has no effect unless --trace-shutdown is also supplied.
23 // Example: --trace-shutdown --trace-shutdown-file=/tmp/trace_event.log
24 const char kTraceShutdownFile[] = "trace-shutdown-file";
26 // Causes TRACE_EVENT flags to be recorded from startup. Optionally, can
27 // specify the specific trace categories to include (e.g.
28 // --trace-startup=base,net) otherwise, all events are recorded. Setting this
29 // flag results in the first call to BeginTracing() to receive all trace events
30 // since startup. In Chrome, you may find --trace-startup-file and
31 // --trace-startup-duration to control the auto-saving of the trace (not
32 // supported in the base-only TraceLog component).
33 const char kTraceStartup[] = "trace-startup";
35 // Sets the time in seconds until startup tracing ends. If omitted a default of
36 // 5 seconds is used. Has no effect without --trace-startup, or if
37 // --startup-trace-file=none was supplied.
38 const char kTraceStartupDuration[] = "trace-startup-duration";
40 // If supplied, sets the file which startup tracing will be stored into, if
41 // omitted the default will be used "chrometrace.log" in the current directory.
42 // Has no effect unless --trace-startup is also supplied.
43 // Example: --trace-startup --trace-startup-file=/tmp/trace_event.log
44 // As a special case, can be set to 'none' - this disables automatically saving
45 // the result to a file and the first manually recorded trace will then receive
46 // all events since startup.
47 const char kTraceStartupFile[] = "trace-startup-file";
49 // Sets the target URL for uploading tracing data.
50 const char kTraceUploadURL[] = "trace-upload-url";
52 } // namespace switches