Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: components/tracing/tracing_switches.cc

Issue 1312833007: Revert of Reland [Startup Tracing] Add --trace-config-file flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/tracing/tracing_switches.h ('k') | components/tracing_nacl.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/tracing_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
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";
12
13 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally, 9 // Causes TRACE_EVENT flags to be recorded beginning with shutdown. Optionally,
14 // can specify the specific trace categories to include (e.g. 10 // can specify the specific trace categories to include (e.g.
15 // --trace-shutdown=base,net) otherwise, all events are recorded. 11 // --trace-shutdown=base,net) otherwise, all events are recorded.
16 // --trace-shutdown-file can be used to control where the trace log gets stored 12 // --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. 13 // to since there is otherwise no way to access the result.
18 const char kTraceShutdown[] = "trace-shutdown"; 14 const char kTraceShutdown[] = "trace-shutdown";
19 15
20 // If supplied, sets the file which shutdown tracing will be stored into, if 16 // 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. 17 // omitted the default will be used "chrometrace.log" in the current directory.
22 // Has no effect unless --trace-shutdown is also supplied. 18 // Has no effect unless --trace-shutdown is also supplied.
(...skipping 20 matching lines...) Expand all
43 // Example: --trace-startup --trace-startup-file=/tmp/trace_event.log 39 // Example: --trace-startup --trace-startup-file=/tmp/trace_event.log
44 // As a special case, can be set to 'none' - this disables automatically saving 40 // 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 41 // the result to a file and the first manually recorded trace will then receive
46 // all events since startup. 42 // all events since startup.
47 const char kTraceStartupFile[] = "trace-startup-file"; 43 const char kTraceStartupFile[] = "trace-startup-file";
48 44
49 // Sets the target URL for uploading tracing data. 45 // Sets the target URL for uploading tracing data.
50 const char kTraceUploadURL[] = "trace-upload-url"; 46 const char kTraceUploadURL[] = "trace-upload-url";
51 47
52 } // namespace switches 48 } // namespace switches
OLDNEW
« no previous file with comments | « components/tracing/tracing_switches.h ('k') | components/tracing_nacl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698