summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message.h
diff options
context:
space:
mode:
authorepenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-02 21:29:24 +0000
committerepenner@chromium.org <epenner@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-05-02 21:29:24 +0000
commitd6cbf05585ee698fa401687ca543d94164b9a1b0 (patch)
treebb38c5f057684f8de300b43f7f832b2146d4d19c /ipc/ipc_message.h
parent37f023ef5f29e64bd0514bc039153b8e484abc7c (diff)
downloadchromium_src-d6cbf05585ee698fa401687ca543d94164b9a1b0.zip
chromium_src-d6cbf05585ee698fa401687ca543d94164b9a1b0.tar.gz
chromium_src-d6cbf05585ee698fa401687ca543d94164b9a1b0.tar.bz2
IPC: Restrict 'toplevel' to truly toplevel events.
These traces shouldn't ever be top level: - "SyncChannel::SendWithTimeout" - "ChannelProxy::Context::OnDispatchMessage" One is sending an IPC (contained within RunTask), and one is recieving an IPC that was forwarded (also contained within RunTask). This brings back the 'ipc' label for all ipc related events, and just adds 'toplevel' to the one IPC trace that is actually toplevel, "ChannelReader::DispatchInputData". BUG=None. Review URL: https://codereview.chromium.org/237113006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@267923 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message.h')
-rw-r--r--ipc/ipc_message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
index 17cbd24..1b13d67 100644
--- a/ipc/ipc_message.h
+++ b/ipc/ipc_message.h
@@ -217,12 +217,12 @@ class IPC_EXPORT Message : public Pickle {
// Called to trace when message is sent.
void TraceMessageBegin() {
- TRACE_EVENT_FLOW_BEGIN0(TRACE_DISABLED_BY_DEFAULT("toplevel.flow"), "IPC",
+ TRACE_EVENT_FLOW_BEGIN0(TRACE_DISABLED_BY_DEFAULT("ipc.flow"), "IPC",
header()->flags);
}
// Called to trace when message is received.
void TraceMessageEnd() {
- TRACE_EVENT_FLOW_END0(TRACE_DISABLED_BY_DEFAULT("toplevel.flow"), "IPC",
+ TRACE_EVENT_FLOW_END0(TRACE_DISABLED_BY_DEFAULT("ipc.flow"), "IPC",
header()->flags);
}