unsigned int enabled;
struct lttng_ust_event attr;
struct lttng_ht_node_str node;
+ char *filter_expression;
struct lttng_ust_filter_bytecode *filter;
- const struct lttng_event_exclusion *exclusion;
+ struct lttng_event_exclusion *exclusion;
};
/* UST channel */
unsigned int snapshot_mode;
unsigned int has_non_default_channel;
unsigned int live_timer_interval; /* usec */
+
+ /* Metadata channel attributes. */
+ struct lttng_ust_channel_attr metadata_attr;
};
/*
struct ltt_ust_session *trace_ust_create_session(uint64_t session_id);
struct ltt_ust_channel *trace_ust_create_channel(struct lttng_channel *attr);
struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev,
+ char *filter_expression,
struct lttng_filter_bytecode *filter,
struct lttng_event_exclusion *exclusion);
struct ltt_ust_context *trace_ust_create_context(
}
static inline
struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev,
+ const char *filter_expression,
struct lttng_filter_bytecode *filter,
struct lttng_event_exclusion *exclusion)
{