summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_channel_posix.cc
diff options
context:
space:
mode:
authoryuhaoz <yuhaoz@google.com>2015-08-18 15:21:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-08-18 22:22:07 +0000
commit9b8157d6d674d1284370af3b59d8fb5539078387 (patch)
tree3f97047da4579550c27535539bbddb7c09fd4f25 /ipc/ipc_channel_posix.cc
parent2051ce7a01a4026ec1611c940a3d83a55a6e19ef (diff)
downloadchromium_src-9b8157d6d674d1284370af3b59d8fb5539078387.zip
chromium_src-9b8157d6d674d1284370af3b59d8fb5539078387.tar.gz
chromium_src-9b8157d6d674d1284370af3b59d8fb5539078387.tar.bz2
Migrate IPC to use Flow API v2.
BUG=https://github.com/catapult-project/catapult/issues/1079 Review URL: https://codereview.chromium.org/1291803005 Cr-Commit-Position: refs/heads/master@{#344053}
Diffstat (limited to 'ipc/ipc_channel_posix.cc')
-rw-r--r--ipc/ipc_channel_posix.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipc/ipc_channel_posix.cc b/ipc/ipc_channel_posix.cc
index 4a3eb9d..b5e2332 100644
--- a/ipc/ipc_channel_posix.cc
+++ b/ipc/ipc_channel_posix.cc
@@ -511,7 +511,10 @@ bool ChannelPosix::Send(Message* message) {
Logging::GetInstance()->OnSendMessage(message, "");
#endif // IPC_MESSAGE_LOG_ENABLED
- message->TraceMessageBegin();
+ TRACE_EVENT_WITH_FLOW0(TRACE_DISABLED_BY_DEFAULT("ipc.flow"),
+ "ChannelPosix::Send",
+ message->flags(),
+ TRACE_EVENT_FLAG_FLOW_OUT);
output_queue_.push(message);
if (!is_blocked_on_write_ && !waiting_connect_) {
return ProcessOutgoingMessages();