projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Silence compiler "always false comparison" warning
[lttng-modules.git]
/
wrapper
/
random.h
diff --git
a/wrapper/random.h
b/wrapper/random.h
index 30a14d185f3fe5bd83faab78dc2f7cce5827b873..35539e43844a927a8e69bdc3687e85e24b47f19e 100644
(file)
--- a/
wrapper/random.h
+++ b/
wrapper/random.h
@@
-1,17
+1,20
@@
-#ifndef _LTTNG_WRAPPER_RANDOM_H
-#define _LTTNG_WRAPPER_RANDOM_H
-
-/*
- * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
+/* SPDX-License-Identifier: (GPL-2.0 OR LGPL-2.1)
+ *
+ * wrapper/random.h
*
* wrapper around bootid read. Using KALLSYMS to get its address when
* available, else we need to have a kernel that exports this function to GPL
* modules.
*
*
* wrapper around bootid read. Using KALLSYMS to get its address when
* available, else we need to have a kernel that exports this function to GPL
* modules.
*
- *
Dual LGPL v2.1/GPL v2 license.
+ *
Copyright (C) 2011-2012 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
*/
*/
-#define BOOT_ID_LEN 37
+#ifndef _LTTNG_WRAPPER_RANDOM_H
+#define _LTTNG_WRAPPER_RANDOM_H
+
+#include <lttng-clock.h>
+
+#define BOOT_ID_LEN LTTNG_MODULES_UUID_STR_LEN
int wrapper_get_bootid(char *bootid);
int wrapper_get_bootid(char *bootid);
This page took
0.023566 seconds
and
4
git commands to generate.