Signed-off-by: David Goulet <dgoulet@efficios.com>
}
/* Same layout. */
uevent->filter = (struct lttng_ust_filter_bytecode *) bytecode;
+ uevent->filter->seqnum = usess->filter_seq_num;
switch (domain) {
case LTTNG_DOMAIN_UST:
if (ret < 0) {
goto error;
}
+ usess->filter_seq_num++;
break;
default:
ret = -ENOSYS;
*/
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
struct lttng_filter_bytecode {
uint32_t len; /* len of data */
uint32_t reloc_table_offset;
+ uint64_t seqnum;
char data[0];
};