X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng-sessiond%2Ftrace-ust.h;h=297037b200d35d40c6d349a440d73b8c9ea3342f;hb=178191b3899f114001f000c2e7f46909969f9c6f;hp=f8bcb3356fa7a3bc8010800737b83626157a62f0;hpb=00e2e675d54dc726a7c8f8887c889cc8ef022003;p=lttng-tools.git diff --git a/src/bin/lttng-sessiond/trace-ust.h b/src/bin/lttng-sessiond/trace-ust.h index f8bcb3356..297037b20 100644 --- a/src/bin/lttng-sessiond/trace-ust.h +++ b/src/bin/lttng-sessiond/trace-ust.h @@ -24,6 +24,7 @@ #include #include +#include #include "consumer.h" #include "ust-ctl.h" @@ -44,8 +45,8 @@ struct ltt_ust_context { struct ltt_ust_event { unsigned int enabled; struct lttng_ust_event attr; - struct lttng_ht *ctx; struct lttng_ht_node_str node; + struct lttng_ust_filter_bytecode *filter; }; /* UST stream */ @@ -53,7 +54,7 @@ struct ltt_ust_stream { int handle; char pathname[PATH_MAX]; /* Format is %s_%d respectively channel name and CPU number. */ - char name[LTTNG_SYMBOL_NAME_LEN]; + char name[DEFAULT_STREAM_NAME_LEN]; struct lttng_ust_object_data *obj; /* Using a list of streams to keep order. */ struct cds_list_head list; @@ -122,6 +123,8 @@ struct ltt_ust_session { */ struct consumer_output *consumer; struct consumer_output *tmp_consumer; + /* Sequence number for filters so the tracer knows the ordering. */ + uint64_t filter_seq_num; }; #ifdef HAVE_LIBLTTNG_UST_CTL