X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Fwrapper%2Frandom.h;fp=include%2Fwrapper%2Frandom.h;h=d438e1bad960403bdf4597e1b1c4317bc9fccf29;hb=117ab60f69a98dcbc365de8008ab93e6699d153a;hp=0000000000000000000000000000000000000000;hpb=7c6d929d62a6e24fb1dbeaee5cd2c8afe77720b7;p=lttng-modules.git diff --git a/include/wrapper/random.h b/include/wrapper/random.h new file mode 100644 index 00000000..d438e1ba --- /dev/null +++ b/include/wrapper/random.h @@ -0,0 +1,19 @@ +/* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only) + * + * wrapper/random.h + * + * wrapper around bootid read. Read the boot id through the /proc filesystem. + * + * Copyright (C) 2011-2012 Mathieu Desnoyers + */ + +#ifndef _LTTNG_WRAPPER_RANDOM_H +#define _LTTNG_WRAPPER_RANDOM_H + +#include + +#define BOOT_ID_LEN LTTNG_MODULES_UUID_STR_LEN + +int wrapper_get_bootid(char *bootid); + +#endif /* _LTTNG_WRAPPER_RANDOM_H */