Add exclusion data to trace_ust_create_event
[lttng-tools.git] / src / bin / lttng-sessiond / trace-ust.c
index c0fc3a0253fe7c630b5abd5ed0db86a3c1272d9c..21197171c567c2215e81557427318ca66f56bc84 100644 (file)
@@ -330,7 +330,8 @@ error:
  * Return pointer to structure or NULL.
  */
 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_event *lue;
 
@@ -384,6 +385,7 @@ struct ltt_ust_event *trace_ust_create_event(struct lttng_event *ev,
 
        /* Same layout. */
        lue->filter = (struct lttng_ust_filter_bytecode *) filter;
+       lue->exclusion = (struct lttng_event_exclusion *) exclusion;
 
        /* Init node */
        lttng_ht_node_init_str(&lue->node, lue->attr.name);
This page took 0.022963 seconds and 4 git commands to generate.