X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer%2Fconsumer.h;h=17e5b55a6c1fb14cec255411eb19ef9259bb10b2;hb=4c5691ba0756f7c0f4a604c814ee729e967da8e0;hp=322f1e64d81871d34d58fcdb4a4b96fcfd517f56;hpb=7f3df516ae76dd62d066c2b65b34ae59ce04bd79;p=lttng-tools.git diff --git a/src/common/consumer/consumer.h b/src/common/consumer/consumer.h index 322f1e64d..17e5b55a6 100644 --- a/src/common/consumer/consumer.h +++ b/src/common/consumer/consumer.h @@ -463,6 +463,7 @@ struct consumer_relayd_sock_pair { /* Session id on both sides for the sockets. */ uint64_t relayd_session_id; uint64_t sessiond_session_id; + struct lttng_consumer_local_data *ctx; }; /* @@ -753,5 +754,6 @@ void consumer_del_stream_for_data(struct lttng_consumer_stream *stream); int consumer_add_metadata_stream(struct lttng_consumer_stream *stream); void consumer_del_stream_for_metadata(struct lttng_consumer_stream *stream); int consumer_create_index_file(struct lttng_consumer_stream *stream); +void lttng_consumer_cleanup_relayd(struct consumer_relayd_sock_pair *relayd); #endif /* LIB_CONSUMER_H */