aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-04-25 17:30:04 -0700
committerGravatar David Garcia Quintas <dgq@google.com>2016-04-25 17:30:04 -0700
commiteb913107f75073f24e0ade0fd18f526195db78b7 (patch)
tree331a307dc090c4327c3acc51ec97c81560ca5bba /src/core/lib
parentc3d869ef5853c4cfad57b7d3694d5260eeb7ce75 (diff)
Init tracers after plugin registration
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/surface/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/surface/init.c b/src/core/lib/surface/init.c
index 03f379aba8..d7ee122f87 100644
--- a/src/core/lib/surface/init.c
+++ b/src/core/lib/surface/init.c
@@ -167,7 +167,6 @@ void grpc_init(void) {
grpc_security_pre_init();
grpc_iomgr_init();
grpc_executor_init();
- grpc_tracer_init("GRPC_TRACE");
gpr_timers_global_init();
grpc_cq_global_init();
for (i = 0; i < g_number_of_plugins; i++) {
@@ -179,6 +178,7 @@ void grpc_init(void) {
* at the appropriate time */
grpc_register_security_filters();
register_builtin_channel_init();
+ grpc_tracer_init("GRPC_TRACE");
/* no more changes to channel init pipelines */
grpc_channel_init_finalize();
}