-
Notifications
You must be signed in to change notification settings - Fork 10.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hookup TSI tracer #908
Hookup TSI tracer #908
Conversation
Conflicts: src/core/tsi/ssl_transport_security.c
First: ugh. Second: allow tracer global variables to be registered and then parsed out of a configuration environment variable. Expose TSI trace config variable directly to ease this a little.
@nicolasnoble - the separated init that we talked about is here. |
@@ -63,8 +63,8 @@ const char* tsi_result_to_string(tsi_result result); | |||
|
|||
/* --- tsi tracing --- */ | |||
|
|||
/* Call this function before any other tsi function to avoid races. */ | |||
void tsi_enable_tracing(void); | |||
/* set this early to avoid races */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/set/Set
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
I'm good with the changes. Assigning to @nicolasnoble if he wants to have a look. Otherwise, I'm happy to merge. |
First: ugh.
Second: allow tracer global variables to be registered and then parsed out of a configuration environment variable.
Expose TSI trace config variable directly to ease this a little.