Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(303)

Unified Diff: net/base/address_tracker_linux.cc

Issue 1840783002: Add TRACE_EVENT macros to net (after crrev.com/1834273002) Base URL: https://chromium.googlesource.com/chromium/src.git@trace_net1
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/net/crl_set_fetcher.cc ('k') | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/address_tracker_linux.cc
diff --git a/net/base/address_tracker_linux.cc b/net/base/address_tracker_linux.cc
index 59d732c90d79f60a4690cb6278ae1a974b36e6dc..2365ff16decfde19da74cccb0b24e265c786e5ae 100644
--- a/net/base/address_tracker_linux.cc
+++ b/net/base/address_tracker_linux.cc
@@ -13,6 +13,7 @@
#include "base/logging.h"
#include "base/posix/eintr_wrapper.h"
#include "base/threading/thread_restrictions.h"
+#include "base/trace_event/trace_event.h"
#include "net/base/network_interfaces_linux.h"
namespace net {
@@ -413,6 +414,7 @@ void AddressTrackerLinux::HandleMessage(char* buffer,
}
void AddressTrackerLinux::OnFileCanReadWithoutBlocking(int fd) {
+ TRACE_EVENT0("net", "AddressTrackerLinux::OnFileCanReadWithoutBlocking");
DCHECK_EQ(netlink_fd_, fd);
bool address_changed;
bool link_changed;
« no previous file with comments | « chrome/browser/net/crl_set_fetcher.cc ('k') | net/cert/cert_verify_proc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698