Add structure size field to struct lttng_event
[lttng-ust.git] / liblttng-ust / lttng-events.c
index b024c4cf327603a59c105b9aaf090dc65b48e608..d29a6c712c7c1a5baf349f24a8d853542ffc2879 100644 (file)
@@ -784,6 +784,7 @@ int lttng_event_create(const struct lttng_event_desc *desc,
                ret = -ENOMEM;
                goto cache_error;
        }
+       event->struct_size = sizeof(struct lttng_event);
        event_priv = zmalloc(sizeof(struct lttng_ust_event_private));
        if (!event_priv) {
                ret = -ENOMEM;
This page took 0.022954 seconds and 4 git commands to generate.