1 /* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
5 * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
8 #ifndef _LTTNG_WRAPPER_UUID_H
9 #define _LTTNG_WRAPPER_UUID_H
11 #include <linux/version.h>
13 #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,35))
14 #include <linux/uuid.h>
17 #include <linux/random.h>
24 void uuid_le_gen(uuid_le
*u
)
26 generate_random_uuid(u
->b
);
30 #endif /* _LTTNG_WRAPPER_UUID_H */
This page took 0.028928 seconds and 4 git commands to generate.