diff options
author | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 02:09:53 +0000 |
---|---|---|
committer | dsinclair@chromium.org <dsinclair@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-23 02:09:53 +0000 |
commit | dcc7837317b2f78398461ae1cc78e14780222639 (patch) | |
tree | 837804f3c4ec78738648199193dd9948498bfa25 /components/tracing/tracing_messages.h | |
parent | 9b5f0a4b60e2139bb6e80947f93f59164bb1ee17 (diff) | |
download | chromium_src-dcc7837317b2f78398461ae1cc78e14780222639.zip chromium_src-dcc7837317b2f78398461ae1cc78e14780222639.tar.gz chromium_src-dcc7837317b2f78398461ae1cc78e14780222639.tar.bz2 |
Add a mode flag to the tracing framework.
The mode is provided when SetEnabled is called. Currently there
is only one mode which is the trace until buffer is full mode.
We will be adding a continuous tracing mode which this will support.
BUG=156025
Review URL: https://chromiumcodereview.appspot.com/12302036
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@184258 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/tracing/tracing_messages.h')
-rw-r--r-- | components/tracing/tracing_messages.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/tracing/tracing_messages.h b/components/tracing/tracing_messages.h index 792c476..fd15c21 100644 --- a/components/tracing/tracing_messages.h +++ b/components/tracing/tracing_messages.h @@ -16,10 +16,11 @@ #define IPC_MESSAGE_START TracingMsgStart // Sent to all child processes to enable trace event recording. -IPC_MESSAGE_CONTROL3(TracingMsg_BeginTracing, +IPC_MESSAGE_CONTROL4(TracingMsg_BeginTracing, std::vector<std::string> /* included_categories */, std::vector<std::string> /* excluded_categories */, - base::TimeTicks /* browser_time */) + base::TimeTicks /* browser_time */, + int /* base::debug::TraceLog::Options */) // Sent to all child processes to disable trace event recording. IPC_MESSAGE_CONTROL0(TracingMsg_EndTracing) |