aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/transport
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2018-11-26 01:20:35 -0800
committerGravatar Yash Tibrewal <yashkt@google.com>2018-11-27 15:51:52 -0800
commitcee77cfd38625c49f324d2956937e9d93f33a808 (patch)
tree0551d35be157b61b393ab9eb565c0ac7e2ea32b0 /src/core/lib/transport
parenta93b6012cc1ae0259118ba5bb4eff4c8634bd18c (diff)
Add traced information to stream op
Diffstat (limited to 'src/core/lib/transport')
-rw-r--r--src/core/lib/transport/transport.h6
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 */