Skip to content
Snippets Groups Projects
Commit eb913107 authored by David Garcia Quintas's avatar David Garcia Quintas
Browse files

Init tracers after plugin registration

parent c3d869ef
No related branches found
No related tags found
No related merge requests found
...@@ -167,7 +167,6 @@ void grpc_init(void) { ...@@ -167,7 +167,6 @@ void grpc_init(void) {
grpc_security_pre_init(); grpc_security_pre_init();
grpc_iomgr_init(); grpc_iomgr_init();
grpc_executor_init(); grpc_executor_init();
grpc_tracer_init("GRPC_TRACE");
gpr_timers_global_init(); gpr_timers_global_init();
grpc_cq_global_init(); grpc_cq_global_init();
for (i = 0; i < g_number_of_plugins; i++) { for (i = 0; i < g_number_of_plugins; i++) {
...@@ -179,6 +178,7 @@ void grpc_init(void) { ...@@ -179,6 +178,7 @@ void grpc_init(void) {
* at the appropriate time */ * at the appropriate time */
grpc_register_security_filters(); grpc_register_security_filters();
register_builtin_channel_init(); register_builtin_channel_init();
grpc_tracer_init("GRPC_TRACE");
/* no more changes to channel init pipelines */ /* no more changes to channel init pipelines */
grpc_channel_init_finalize(); grpc_channel_init_finalize();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment