X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-kernel.h;h=c86cc273ce8ba363865a706938a913687fd7dfab;hp=bc4c0e763bfaa8c2b1694b0cebb956629ba48cfb;hb=4dbc372b53ef1ac713497164e7a8b92100db7ae2;hpb=00e2e675d54dc726a7c8f8887c889cc8ef022003 diff --git a/src/bin/lttng-sessiond/trace-kernel.h b/src/bin/lttng-sessiond/trace-kernel.h index bc4c0e763..c86cc273c 100644 --- a/src/bin/lttng-sessiond/trace-kernel.h +++ b/src/bin/lttng-sessiond/trace-kernel.h @@ -22,6 +22,7 @@ #include #include +#include #include "consumer.h" @@ -90,7 +91,6 @@ struct ltt_kernel_session { int fd; int metadata_stream_fd; int consumer_fds_sent; - int consumer_fd; unsigned int channel_count; unsigned int stream_count_global; char *trace_path; @@ -123,7 +123,7 @@ struct ltt_kernel_channel *trace_kernel_get_channel_by_name( struct ltt_kernel_session *trace_kernel_create_session(char *path); struct ltt_kernel_channel *trace_kernel_create_channel(struct lttng_channel *chan, char *path); struct ltt_kernel_event *trace_kernel_create_event(struct lttng_event *ev); -struct ltt_kernel_metadata *trace_kernel_create_metadata(char *path); +struct ltt_kernel_metadata *trace_kernel_create_metadata(void); struct ltt_kernel_stream *trace_kernel_create_stream(const char *name, unsigned int count);