projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Namespace kernel version macros
[lttng-modules.git]
/
wrapper
/
namespace.h
diff --git
a/wrapper/namespace.h
b/wrapper/namespace.h
index 0e7833e1f1e8c528d2ae83a121fae564530c0378..d4a1401a83bb72353701953e99aab0af08ec3c8d 100644
(file)
--- a/
wrapper/namespace.h
+++ b/
wrapper/namespace.h
@@
-10,15
+10,15
@@
#ifndef _LTTNG_WRAPPER_NAMESPACE_H
#define _LTTNG_WRAPPER_NAMESPACE_H
#ifndef _LTTNG_WRAPPER_NAMESPACE_H
#define _LTTNG_WRAPPER_NAMESPACE_H
-#include <l
inux/
version.h>
+#include <l
ttng-kernel-
version.h>
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,19,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,19,0))
#define lttng_ns_inum ns.inum
#else
#define lttng_ns_inum proc_inum
#endif
#define lttng_ns_inum ns.inum
#else
#define lttng_ns_inum proc_inum
#endif
-#if (L
INUX_VERSION_CODE >=
KERNEL_VERSION(3,5,0))
+#if (L
TTNG_LINUX_VERSION_CODE >= LTTNG_
KERNEL_VERSION(3,5,0))
#define lttng_user_ns_parent parent
#else
#define lttng_user_ns_parent creator->user_ns
#define lttng_user_ns_parent parent
#else
#define lttng_user_ns_parent creator->user_ns
This page took
0.023744 seconds
and
4
git commands to generate.