clock: read bootid as clock monotonic ID
[lttng-modules.git] / wrapper / random.h
diff --git a/wrapper/random.h b/wrapper/random.h
new file mode 100644 (file)
index 0000000..30a14d1
--- /dev/null
@@ -0,0 +1,18 @@
+#ifndef _LTTNG_WRAPPER_RANDOM_H
+#define _LTTNG_WRAPPER_RANDOM_H
+
+/*
+ * Copyright (C) 2011 Mathieu Desnoyers (mathieu.desnoyers@efficios.com)
+ *
+ * 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.
+ */
+
+#define BOOT_ID_LEN    37
+
+int wrapper_get_bootid(char *bootid);
+
+#endif /* _LTTNG_WRAPPER_RANDOM_H */
This page took 0.028521 seconds and 4 git commands to generate.