X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=bf87609f3f1aea428128895cdab7ba20cf1f8568;hb=a32bd7757cc9f642b3977897819982ed1eb3be80;hp=91039e8e956563c3f99d3de6f9cd0ca7dbb98251;hpb=acdb9057878ddbd9c112206f3c1c4c2104093088;p=lttng-tools.git diff --git a/src/common/consumer.h b/src/common/consumer.h index 91039e8e9..bf87609f3 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -222,6 +222,7 @@ struct lttng_consumer_stream { * Lock to use the stream FDs since they are used between threads. * * This is nested INSIDE the consumer_data lock. + * This is nested INSIDE the metadata cache lock. * This is nested OUTSIDE consumer_relayd_sock_pair lock. */ pthread_mutex_t lock; @@ -351,7 +352,7 @@ struct lttng_consumer_local_data { /* to let the signal handler wake up the fd receiver thread */ int consumer_should_quit[2]; /* Metadata poll thread pipe. Transfer metadata stream to it */ - int consumer_metadata_pipe[2]; + struct lttng_pipe *consumer_metadata_pipe; }; /*