X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=18f64b6ef4ad5ca7e6bb05e7310a2e324e92b71a;hp=5a11950084bce1f36625ff0ce7809c31ca5eae71;hb=ace17efaf90b672f303b22959146c01793e9d4b2;hpb=f82d9449a304561c5914b2c5f9471a640ca99248 diff --git a/src/common/consumer.h b/src/common/consumer.h index 5a1195008..18f64b6ef 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -398,7 +398,11 @@ struct lttng_consumer_local_data { int consumer_error_socket; /* socket to ask metadata to sessiond. */ int consumer_metadata_socket; - /* Protect consumer_metadata_socket. */ + /* + * Protect consumer_metadata_socket. + * + * This is nested OUTSIDE the metadata cache lock. + */ pthread_mutex_t metadata_socket_lock; /* socket to exchange commands with sessiond */ char *consumer_command_sock_path;