X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-kernel.h;h=27baa6d3954bfecc1f03145909e73c5ee72dc480;hb=178191b3899f114001f000c2e7f46909969f9c6f;hp=96a3664b4158d8a78f13053bfe75ab7a83d9272b;hpb=ce2a9e76964f3bd53abb652299e5b00f824172ff;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/trace-kernel.h b/src/bin/lttng-sessiond/trace-kernel.h index 96a3664b4..27baa6d39 100644 --- a/src/bin/lttng-sessiond/trace-kernel.h +++ b/src/bin/lttng-sessiond/trace-kernel.h @@ -46,11 +46,6 @@ struct ltt_kernel_channel_list { struct ltt_kernel_event { int fd; int enabled; - /* - * TODO: need internal representation to support more than a - * single context. - */ - struct lttng_kernel_context *ctx; struct lttng_kernel_event *event; struct cds_list_head list; }; @@ -110,6 +105,8 @@ struct ltt_kernel_session { struct consumer_output *tmp_consumer; /* Tracing session id */ unsigned int id; + /* Session is started and active */ + unsigned int started; }; /*