Use guid_gen for kernels >= 5.7.0
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 16:16:43 +0000 (12:16 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 16:17:47 +0000 (12:17 -0400)
** note: removes backward compatibility. **

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-events.c

index c14ea3f20060e4f470e0b8d00c91cc9a7faf222d..1ca4d519b817730ea03b5c88da307ee40a36c10d 100644 (file)
@@ -134,7 +134,7 @@ struct lttng_session *lttng_session_create(void)
                goto err;
        INIT_LIST_HEAD(&session->chan);
        INIT_LIST_HEAD(&session->events);
-       uuid_le_gen(&session->uuid);
+       guid_gen(&session->uuid);
 
        metadata_cache = kzalloc(sizeof(struct lttng_metadata_cache),
                        GFP_KERNEL);
This page took 0.026971 seconds and 4 git commands to generate.