summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message.h
diff options
context:
space:
mode:
authorfmeawad@chromium.org <fmeawad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 18:28:53 +0000
committerfmeawad@chromium.org <fmeawad@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-06 18:28:53 +0000
commit0f73535a2ddcfdbc83b2eb3a5ec7912b59412f5c (patch)
tree9ccf3932b78993b4b96967dcde05048ae249f5df /ipc/ipc_message.h
parent73aec6aa4b67fd52fdde41a77c0a75b37ea33391 (diff)
downloadchromium_src-0f73535a2ddcfdbc83b2eb3a5ec7912b59412f5c.zip
chromium_src-0f73535a2ddcfdbc83b2eb3a5ec7912b59412f5c.tar.gz
chromium_src-0f73535a2ddcfdbc83b2eb3a5ec7912b59412f5c.tar.bz2
Make flow event traces disabled-by-default
Currently all flow events are in the category "toplevel.flow", they originated from "ipc" and "task" categories. BUG=338427 Review URL: https://codereview.chromium.org/148173011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@249450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message.h')
-rw-r--r--ipc/ipc_message.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
index 4209016..17cbd24 100644
--- a/ipc/ipc_message.h
+++ b/ipc/ipc_message.h
@@ -217,11 +217,13 @@ class IPC_EXPORT Message : public Pickle {
// Called to trace when message is sent.
void TraceMessageBegin() {
- TRACE_EVENT_FLOW_BEGIN0("ipc", "IPC", header()->flags);
+ TRACE_EVENT_FLOW_BEGIN0(TRACE_DISABLED_BY_DEFAULT("toplevel.flow"), "IPC",
+ header()->flags);
}
// Called to trace when message is received.
void TraceMessageEnd() {
- TRACE_EVENT_FLOW_END0("ipc", "IPC", header()->flags);
+ TRACE_EVENT_FLOW_END0(TRACE_DISABLED_BY_DEFAULT("toplevel.flow"), "IPC",
+ header()->flags);
}
protected: