summaryrefslogtreecommitdiffstats
path: root/content/common/child_process_messages.h
diff options
context:
space:
mode:
authorjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 22:03:41 +0000
committerjbates@chromium.org <jbates@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-12 22:03:41 +0000
commit434b02a20e5194548f6ab5868b78f14215e3614d (patch)
tree1003e850e6fce0d84697c600e78186b09029f0fd /content/common/child_process_messages.h
parent8665da83c740dbcf8bd260f4759ca7b5b283b995 (diff)
downloadchromium_src-434b02a20e5194548f6ab5868b78f14215e3614d.zip
chromium_src-434b02a20e5194548f6ab5868b78f14215e3614d.tar.gz
chromium_src-434b02a20e5194548f6ab5868b78f14215e3614d.tar.bz2
Add support for filtering traces by categories. The TraceLog API is updated to support included and excluded categories. This API is then plumbed through to the TraceController so that it can be used across all processes.
BUG=96122 TEST=base_unittests Review URL: http://codereview.chromium.org/7867013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common/child_process_messages.h')
-rw-r--r--content/common/child_process_messages.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h
index 6c7b7fd..b48275d 100644
--- a/content/common/child_process_messages.h
+++ b/content/common/child_process_messages.h
@@ -26,7 +26,9 @@ IPC_MESSAGE_CONTROL1(ChildProcessMsg_SetIPCLoggingEnabled,
#endif
// Sent to all child processes to enable trace event recording.
-IPC_MESSAGE_CONTROL0(ChildProcessMsg_BeginTracing)
+IPC_MESSAGE_CONTROL2(ChildProcessMsg_BeginTracing,
+ std::vector<std::string> /* included_categories */,
+ std::vector<std::string> /* excluded_categories */)
// Sent to all child processes to disable trace event recording.
IPC_MESSAGE_CONTROL0(ChildProcessMsg_EndTracing)
@@ -40,7 +42,8 @@ IPC_MESSAGE_CONTROL0(ChildProcessMsg_GetTraceBufferPercentFull)
IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ShutdownRequest)
// Reply from child processes acking ChildProcessMsg_TraceChangeStatus(false).
-IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_EndTracingAck)
+IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_EndTracingAck,
+ std::vector<std::string> /* known_categories */)
// Sent if the trace buffer becomes full.
IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_TraceBufferFull)