Skip to content
Snippets Groups Projects
Commit 780ba5dd authored by ncteisen's avatar ncteisen
Browse files

Add all refcount flag

parent 7712c7c4
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,12 @@ int grpc_tracer_set_enabled(const char *name, int enabled) {
}
} else if (0 == strcmp(name, "list_tracers")) {
list_tracers();
} else if (0 == strcmp(name, "refcount")) {
for (t = tracers; t; t = t->next) {
if (strstr(t->flag->name, "refcount") != NULL) {
TRACER_SET(*t->flag, enabled);
}
}
} else {
int found = 0;
for (t = tracers; t; t = t->next) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment