From 1b6b2121432caa320ed51df620f39c1f711129e3 Mon Sep 17 00:00:00 2001 From: Craig Tiller <ctiller@google.com> Date: Tue, 12 May 2015 09:44:28 -0700 Subject: [PATCH] Trace more events --- src/core/surface/completion_queue.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/surface/completion_queue.c b/src/core/surface/completion_queue.c index 060a8ff54a..48910afda3 100644 --- a/src/core/surface/completion_queue.c +++ b/src/core/surface/completion_queue.c @@ -213,6 +213,7 @@ grpc_event grpc_completion_queue_next(grpc_completion_queue *cc, gpr_mu_unlock(GRPC_POLLSET_MU(&cc->pollset)); memset(&ret, 0, sizeof(ret)); ret.type = GRPC_QUEUE_TIMEOUT; + GRPC_SURFACE_TRACE_RETURNED_EVENT(cc, &ret); return ret; } } @@ -274,6 +275,7 @@ grpc_event grpc_completion_queue_pluck(grpc_completion_queue *cc, void *tag, gpr_mu_unlock(GRPC_POLLSET_MU(&cc->pollset)); memset(&ret, 0, sizeof(ret)); ret.type = GRPC_QUEUE_TIMEOUT; + GRPC_SURFACE_TRACE_RETURNED_EVENT(cc, &ev->base); return ret; } } -- GitLab