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