aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-04-28 15:23:51 -0700
committerGravatar Jan Tattermusch <jtattermusch@users.noreply.github.com>2016-04-28 15:23:51 -0700
commitc230881333510b52b157ac3478723d85b18440c2 (patch)
tree16b7223914c5826f7a96220e08daf4014be810d4 /src/core/lib
parent2ea6765faf683987dbed62c1e281759ca5c01921 (diff)
parenteb913107f75073f24e0ade0fd18f526195db78b7 (diff)
Merge pull request #6285 from dgquintas/fix_plugin_tracers
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();
}