diff options
author | Mark D. Roth <roth@google.com> | 2017-07-07 12:50:33 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2017-07-07 12:50:33 -0700 |
commit | 60751fe7e7f1403066f9dc8b19ca69ea69ae7f20 (patch) | |
tree | 860789897810236af9d660078e61d1503f23ecf5 /src/core/ext/filters/client_channel/client_channel_plugin.c | |
parent | 8dc24e3c4fde981d775e9349cba4111d1b6f2bc6 (diff) |
Add client_channel tracer; code cleanup; eliminate an allocation.
Diffstat (limited to 'src/core/ext/filters/client_channel/client_channel_plugin.c')
-rw-r--r-- | src/core/ext/filters/client_channel/client_channel_plugin.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/ext/filters/client_channel/client_channel_plugin.c b/src/core/ext/filters/client_channel/client_channel_plugin.c index 60e77d6268..6f133a648b 100644 --- a/src/core/ext/filters/client_channel/client_channel_plugin.c +++ b/src/core/ext/filters/client_channel/client_channel_plugin.c @@ -78,6 +78,7 @@ void grpc_client_channel_init(void) { GRPC_CLIENT_CHANNEL, GRPC_CHANNEL_INIT_BUILTIN_PRIORITY, append_filter, (void *)&grpc_client_channel_filter); grpc_http_connect_register_handshaker_factory(); + grpc_register_tracer("client_channel", &grpc_client_channel_trace); #ifndef NDEBUG grpc_register_tracer("resolver_refcount", &grpc_trace_resolver_refcount); #endif |