Index: talk/session/media/channel.cc |
diff --git a/talk/session/media/channel.cc b/talk/session/media/channel.cc |
index a25ab7d0df682791ec5b4abc0d07f4efae3166df..4682c05a98aae7a3fda969f8383286785af4dd59 100644 |
--- a/talk/session/media/channel.cc |
+++ b/talk/session/media/channel.cc |
@@ -29,7 +29,6 @@ |
#include "talk/media/base/constants.h" |
#include "talk/media/base/rtputils.h" |
-#include "webrtc/p2p/base/transportchannel.h" |
#include "talk/session/media/channelmanager.h" |
#include "webrtc/base/bind.h" |
#include "webrtc/base/buffer.h" |
@@ -37,6 +36,8 @@ |
#include "webrtc/base/common.h" |
#include "webrtc/base/dscp.h" |
#include "webrtc/base/logging.h" |
+#include "webrtc/base/trace_event.h" |
+#include "webrtc/p2p/base/transportchannel.h" |
namespace cricket { |
@@ -471,6 +472,7 @@ void BaseChannel::OnChannelRead(TransportChannel* channel, |
const char* data, size_t len, |
const rtc::PacketTime& packet_time, |
int flags) { |
+ TRACE_EVENT0("webrtc", "BaseChannel::OnChannelRead"); |
// OnChannelRead gets called from P2PSocket; now pass data to MediaEngine |
ASSERT(worker_thread_ == rtc::Thread::Current()); |
@@ -1272,6 +1274,7 @@ void BaseChannel::MaybeCacheRtpAbsSendTimeHeaderExtension( |
} |
void BaseChannel::OnMessage(rtc::Message *pmsg) { |
+ TRACE_EVENT0("webrtc", "BaseChannel::OnMessage"); |
switch (pmsg->message_id) { |
case MSG_RTPPACKET: |
case MSG_RTCPPACKET: { |