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

Unified Diff: net/base/address_tracker_linux.cc

Issue 1814463002: [NOT FOR REVIEW] Instrument net/ with trace events. Base URL: https://chromium.googlesource.com/chromium/src.git@profiler
Patch Set: meh 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_database_nss.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..adb097d4dbae92eb62f21effdbd05681b8cf4f22 100644
--- a/net/base/address_tracker_linux.cc
+++ b/net/base/address_tracker_linux.cc
@@ -15,6 +15,8 @@
#include "base/threading/thread_restrictions.h"
#include "net/base/network_interfaces_linux.h"
+#include "base/trace_event/trace_event.h"
+
namespace net {
namespace internal {
@@ -413,6 +415,7 @@ void AddressTrackerLinux::HandleMessage(char* buffer,
}
void AddressTrackerLinux::OnFileCanReadWithoutBlocking(int fd) {
+ TRACE_EVENT0("net", "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_database_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698