context cgroup ns: remove compatibility code
[lttng-modules.git] / lttng-events.h
index 8197eb83a5bafc8c11e17f1a3d3f0bbdc5599262..05309174ab67635adaf94d47dab93b50aa8b17fd 100644 (file)
@@ -16,7 +16,7 @@
 #include <linux/kref.h>
 #include <lttng-cpuhotplug.h>
 #include <linux/uuid.h>
-#include <wrapper/uprobes.h>
+#include <linux/uprobes.h>
 #include <lttng-tracer.h>
 #include <lttng-abi.h>
 #include <lttng-abi-old.h>
@@ -721,9 +721,7 @@ int lttng_add_migratable_to_ctx(struct lttng_ctx **ctx)
 
 int lttng_add_callstack_to_ctx(struct lttng_ctx **ctx, int type);
 
-#if defined(CONFIG_CGROUPS) && \
-       ((LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)) || \
-        LTTNG_UBUNTU_KERNEL_RANGE(4,4,0,0, 4,5,0,0))
+#if defined(CONFIG_CGROUPS)
 int lttng_add_cgroup_ns_to_ctx(struct lttng_ctx **ctx);
 #else
 static inline
This page took 0.022973 seconds and 4 git commands to generate.