Use template header for overwrite vs discard modes
[lttng-modules.git] / ltt-events.c
index a5499f40de30f9f0c5818a24004243dba845fbdb..21c6d29e2a2d5d5ba592e9a5aacf40a49f4308d1 100644 (file)
@@ -108,6 +108,7 @@ struct ltt_event *ltt_event_create(struct ltt_channel *chan, char *name,
                                   void *filter)
 {
        struct ltt_event *event;
+       int ret;
 
        mutex_lock(&sessions_mutex);
        if (chan->free_event_id == -1UL)
@@ -132,7 +133,6 @@ struct ltt_event *ltt_event_create(struct ltt_channel *chan, char *name,
        mutex_unlock(&sessions_mutex);
        /* Populate ltt_event structure before tracepoint registration. */
        smp_wmb();
-       /* TODO register to tracepoint */
        return event;
 
 error:
This page took 0.022987 seconds and 4 git commands to generate.