aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-06-26 10:39:22 -0700
committerGravatar GitHub <noreply@github.com>2016-06-26 10:39:22 -0700
commitf89efed0a7d897ac66596b8b77beb424559b25fc (patch)
tree80b805f8f37d7424bf5d6dd0cf74b00bb0c57a39
parent52227906e6621c36af958e6e1cd810f4fb7b7602 (diff)
parenta218a0668d32c8994a3147845bfa7647e3db4380 (diff)
Merge pull request #7072 from ctiller/fix_perf_trace
Fix GPR_TIMER misbalancing
-rw-r--r--src/core/lib/iomgr/ev_epoll_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/ev_epoll_linux.c b/src/core/lib/iomgr/ev_epoll_linux.c
index 4dca551e1e..5460d72734 100644
--- a/src/core/lib/iomgr/ev_epoll_linux.c
+++ b/src/core/lib/iomgr/ev_epoll_linux.c
@@ -1114,10 +1114,10 @@ static grpc_error *pollset_kick(grpc_pollset *p,
append_error(&error, pollset_worker_kick(worker), err_desc);
}
}
+ GPR_TIMER_END("pollset_kick.broadcast", 0);
} else {
p->kicked_without_pollers = true;
}
- GPR_TIMER_END("pollset_kick.broadcast", 0);
} else {
GPR_TIMER_MARK("kicked_specifically", 0);
if (gpr_tls_get(&g_current_thread_worker) != (intptr_t)worker) {