Commit | Line | Data |
---|---|---|
1 | /* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) | |
2 | * | |
3 | * wrapper/random.h | |
4 | * | |
5 | * wrapper around bootid read. Read the boot id through the /proc filesystem. | |
6 | * | |
7 | * Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | |
8 | */ | |
9 | ||
10 | #ifndef _LTTNG_WRAPPER_RANDOM_H | |
11 | #define _LTTNG_WRAPPER_RANDOM_H | |
12 | ||
13 | #include <lttng/clock.h> | |
14 | ||
15 | #define BOOT_ID_LEN LTTNG_MODULES_UUID_STR_LEN | |
16 | ||
17 | int wrapper_get_bootid(char *bootid); | |
18 | ||
19 | #endif /* _LTTNG_WRAPPER_RANDOM_H */ |