X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Ftrace.h;h=591af85730299c8c0832d11ab303236d4aeaed6d;hp=43b67eae25cf9d35f5157b8c93348206cdca6c9c;hb=63053e7cec6930a85d4d4c7ac851a1c554179c8a;hpb=b082db07f0c522527fc95fc97f3e99eb0579c0cc diff --git a/ltt-sessiond/trace.h b/ltt-sessiond/trace.h index 43b67eae2..591af8573 100644 --- a/ltt-sessiond/trace.h +++ b/ltt-sessiond/trace.h @@ -3,8 +3,8 @@ * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. + * as published by the Free Software Foundation; only version 2 + * of the License. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -56,6 +56,7 @@ struct ltt_kernel_channel { int enabled; char *pathname; unsigned int stream_count; + unsigned int event_count; struct lttng_kernel_context *ctx; struct lttng_channel *channel; struct ltt_kernel_event_list events_list; @@ -85,6 +86,7 @@ struct ltt_kernel_session { int kconsumer_fds_sent; unsigned int channel_count; unsigned int stream_count_global; + char *trace_path; struct ltt_kernel_metadata *metadata; struct ltt_kernel_channel_list channel_list; }; @@ -118,7 +120,7 @@ struct ltt_kernel_channel *get_kernel_channel_by_name( struct ltt_kernel_session *trace_create_kernel_session(void); struct ltt_kernel_channel *trace_create_kernel_channel(struct lttng_channel *chan, char *path); struct ltt_kernel_event *trace_create_kernel_event(struct lttng_event *ev); -struct ltt_kernel_metadata *trace_create_kernel_metadata(void); +struct ltt_kernel_metadata *trace_create_kernel_metadata(char *path); struct ltt_kernel_stream *trace_create_kernel_stream(void); /*