diff options
author | Yash Tibrewal <yashkt@google.com> | 2018-11-28 15:55:54 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 15:55:54 -0800 |
commit | af67526882f6ef6b32d300391ca3cc086c7c75c0 (patch) | |
tree | f1aa997b9776998923572b47acd8d82d9a80cfc4 /src/core/lib | |
parent | 074e2d82c2a21e3204f846d4632418fcd8c4fc01 (diff) | |
parent | 023415c461f72404c598f5ee52a4502a8a14afef (diff) |
Merge pull request #17294 from yashykt/traced
Add traced information to stream op
Diffstat (limited to 'src/core/lib')
-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 */ |