X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=5a11950084bce1f36625ff0ce7809c31ca5eae71;hp=fe396c017a6f4109291d95aa64d50a462c7a3dcb;hb=75d83e506938a3e673ad19bb11838ee88e977e72;hpb=feb78e88e113ec8c6918253e93136b5f6235ad31 diff --git a/src/common/consumer.h b/src/common/consumer.h index fe396c017..5a1195008 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -396,8 +396,10 @@ struct lttng_consumer_local_data { enum lttng_consumer_type type; /* socket to communicate errors with sessiond */ int consumer_error_socket; - /* socket to ask metadata to sessiond */ + /* socket to ask metadata to sessiond. */ int consumer_metadata_socket; + /* Protect consumer_metadata_socket. */ + pthread_mutex_t metadata_socket_lock; /* socket to exchange commands with sessiond */ char *consumer_command_sock_path; /* communication with splice */