X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Flttng%2Flttng-consumer.h;h=3d16d49732f9175a68ecff669e0ace402d55b2c2;hb=2c1dd183d5e75a133090c65ecb4ff326981b3ad9;hp=bba72ee69ec39f82a4b56cf69c65e84c7939b4ab;hpb=e4421fecbda445e77b4604d2332014960bfbf695;p=lttng-tools.git diff --git a/include/lttng/lttng-consumer.h b/include/lttng/lttng-consumer.h index bba72ee69..3d16d4973 100644 --- a/include/lttng/lttng-consumer.h +++ b/include/lttng/lttng-consumer.h @@ -78,7 +78,6 @@ struct lttng_consumer_channel { size_t mmap_len; struct lttng_ust_shm_handle *handle; int nr_streams; - int shm_fd_is_copy; int wait_fd_is_copy; int cpucount; }; @@ -184,9 +183,10 @@ struct lttng_consumer_global_data { /* * At this time, this lock is used to ensure coherence between the count * and number of element in the hash table. It's also a protection for - * concurrent read/write between threads. Although hash table used are - * lockless data structure, appropriate RCU lock mechanism are not yet - * implemented in the consumer. + * concurrent read/write between threads. + * + * XXX: We need to see if this lock is still needed with the lockless RCU + * hash tables. */ pthread_mutex_t lock;