X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fcommon%2Fconsumer.h;h=6bce96d96946abf263b9bad0bff0d6ff98d8dc49;hb=43c34bc328e6970b298c9f5cd661e2ca648ebf16;hp=8e5891aef60da7dfa3267ee18006605c6005f5c3;hpb=c869f647b0c4476645ab9ee01e362401fb8c1e42;p=lttng-tools.git diff --git a/src/common/consumer.h b/src/common/consumer.h index 8e5891aef..6bce96d96 100644 --- a/src/common/consumer.h +++ b/src/common/consumer.h @@ -275,6 +275,10 @@ struct lttng_consumer_global_data { struct lttng_ht *relayd_ht; }; +/* Defined in consumer.c and coupled with explanations */ +extern struct lttng_ht *metadata_ht; +extern struct lttng_ht *data_ht; + /* * Init consumer data structures. */ @@ -324,10 +328,6 @@ extern void lttng_consumer_sync_trace_file( */ extern int lttng_consumer_poll_socket(struct pollfd *kconsumer_sockpoll); -extern int consumer_update_poll_array( - struct lttng_consumer_local_data *ctx, struct pollfd **pollfd, - struct lttng_consumer_stream **local_consumer_streams); - extern struct lttng_consumer_stream *consumer_allocate_stream( int channel_key, int stream_key, int shm_fd, int wait_fd, @@ -340,7 +340,6 @@ extern struct lttng_consumer_stream *consumer_allocate_stream( int net_index, int metadata_flag, int *alloc_ret); -extern int consumer_add_stream(struct lttng_consumer_stream *stream); extern void consumer_del_stream(struct lttng_consumer_stream *stream, struct lttng_ht *ht); extern void consumer_del_metadata_stream(struct lttng_consumer_stream *stream,