Add namespaces statedump
[lttng-modules.git] / wrapper / namespace.h
index 36dbf4c0475081812230a361b7e1090678d506bd..0e7833e1f1e8c528d2ae83a121fae564530c0378 100644 (file)
 #define lttng_ns_inum proc_inum
 #endif
 
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0))
+#define lttng_user_ns_parent parent
+#else
+#define lttng_user_ns_parent creator->user_ns
+#endif
+
 #endif /* _LTTNG_WRAPPER_NAMESPACE_H */
This page took 0.024984 seconds and 4 git commands to generate.