diff options
author | Craig Tiller <ctiller@google.com> | 2015-05-12 09:44:28 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-05-12 09:44:28 -0700 |
commit | 1b6b2121432caa320ed51df620f39c1f711129e3 (patch) | |
tree | e9961300f5c4c43934e724b2e41d4c49a1ca209c /src/core | |
parent | 59b195f8645e85fd656881ef8b2cb0c03f8738b2 (diff) |
Trace more events
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/surface/completion_queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |