diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-26 01:20:35 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2018-11-27 15:51:52 -0800 |
commit | cee77cfd38625c49f324d2956937e9d93f33a808 (patch) | |
tree | 0551d35be157b61b393ab9eb565c0ac7e2ea32b0 /src/core/lib/transport | |
parent | a93b6012cc1ae0259118ba5bb4eff4c8634bd18c (diff) |
Add traced information to stream op
Diffstat (limited to 'src/core/lib/transport')
-rw-r--r-- | src/core/lib/transport/transport.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/core/lib/transport/transport.h b/src/core/lib/transport/transport.h index edfa7030d1..5ce568834e 100644 --- a/src/core/lib/transport/transport.h +++ b/src/core/lib/transport/transport.h @@ -129,7 +129,8 @@ struct grpc_transport_stream_op_batch { recv_initial_metadata(false), recv_message(false), recv_trailing_metadata(false), - cancel_stream(false) {} + cancel_stream(false), + is_traced(false) {} /** Should be scheduled when all of the non-recv operations in the batch are complete. @@ -167,6 +168,9 @@ struct grpc_transport_stream_op_batch { /** Cancel this stream with the provided error */ bool cancel_stream : 1; + /** Is this stream traced */ + bool is_traced : 1; + /*************************************************************************** * remaining fields are initialized and used at the discretion of the * current handler of the op */ |