Commit | Line | Data |
---|---|---|
9f36eaed MJ |
1 | /* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1) |
2 | * | |
886d51a3 | 3 | * wrapper/random.h |
a82c63f1 MD |
4 | * |
5 | * wrapper around bootid read. Using KALLSYMS to get its address when | |
6 | * available, else we need to have a kernel that exports this function to GPL | |
7 | * modules. | |
8 | * | |
886d51a3 | 9 | * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> |
a82c63f1 MD |
10 | */ |
11 | ||
9f36eaed MJ |
12 | #ifndef _LTTNG_WRAPPER_RANDOM_H |
13 | #define _LTTNG_WRAPPER_RANDOM_H | |
14 | ||
5a2f5e92 | 15 | #include <lttng-clock.h> |
2754583e MD |
16 | |
17 | #define BOOT_ID_LEN LTTNG_MODULES_UUID_STR_LEN | |
a82c63f1 MD |
18 | |
19 | int wrapper_get_bootid(char *bootid); | |
20 | ||
21 | #endif /* _LTTNG_WRAPPER_RANDOM_H */ |