Add exclusion data to trace_ust_create_event
[lttng-tools.git] / src / bin / lttng-sessiond / trace-ust.h
index f25573a80d8015e5ca69280a1419d0a256d0acc7..9d2b4571a7e04290b1c90af4d7e93827ba912e2e 100644 (file)
@@ -34,6 +34,7 @@ struct ltt_ust_ht_key {
        const char *name;
        const struct lttng_filter_bytecode *filter;
        enum lttng_ust_loglevel_type loglevel;
+       const struct lttng_event_exclusion *exclusion;
 };
 
 /* Context hash table nodes */
@@ -49,6 +50,7 @@ struct ltt_ust_event {
        struct lttng_ust_event attr;
        struct lttng_ht_node_str node;
        struct lttng_ust_filter_bytecode *filter;
+       const struct lttng_event_exclusion *exclusion;
 };
 
 /* UST channel */
@@ -165,7 +167,8 @@ struct ltt_ust_channel *trace_ust_find_channel_by_name(struct lttng_ht *ht,
 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,
-               struct lttng_filter_bytecode *filter);
+               struct lttng_filter_bytecode *filter,
+               struct lttng_event_exclusion *exclusion);
 struct ltt_ust_metadata *trace_ust_create_metadata(char *path);
 struct ltt_ust_context *trace_ust_create_context(
                struct lttng_event_context *ctx);
@@ -212,7 +215,8 @@ struct ltt_ust_channel *trace_ust_create_channel(struct lttng_channel *attr)
 }
 static inline
 struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev,
-               struct lttng_filter_bytecode *filter)
+               struct lttng_filter_bytecode *filter,
+               struct lttng_event_exclusion *exclusion)
 {
        return NULL;
 }
This page took 0.02429 seconds and 4 git commands to generate.