diff options
author | Mark D. Roth <roth@google.com> | 2017-10-11 08:49:07 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2017-10-11 08:49:07 -0700 |
commit | 901bb4f5bce2b924f8d75a710920aeb45221809c (patch) | |
tree | d5e4f5b10b1c87842209b4acf29b0e26b03ddfd4 /src/core/ext/filters/client_channel/lb_policy/pick_first | |
parent | 0c11ebaa6c7e2cf0c1f49fc0f094ca9fe98c67e4 (diff) |
Improve tracing of subchannel_list code.
Diffstat (limited to 'src/core/ext/filters/client_channel/lb_policy/pick_first')
-rw-r--r-- | src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc b/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc index f321fec444..d861746999 100644 --- a/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc +++ b/src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc @@ -265,7 +265,8 @@ static void pf_update_locked(grpc_exec_ctx *exec_ctx, grpc_lb_policy *policy, (void *)p, (unsigned long)addresses->num_addresses); } grpc_lb_subchannel_list *subchannel_list = grpc_lb_subchannel_list_create( - exec_ctx, &p->base, addresses, args, pf_connectivity_changed_locked); + exec_ctx, &p->base, &grpc_lb_pick_first_trace, addresses, args, + pf_connectivity_changed_locked); if (subchannel_list->num_subchannels == 0) { // Empty update or no valid subchannels. Unsubscribe from all current // subchannels and put the channel in TRANSIENT_FAILURE. |