Rename "tsc" to "timestamp"
[lttng-modules.git] / src / lttng-context-net-ns.c
index 4bc046db1bf494363dc5dbc41f502e88ebad4808..ad6d6d2af24a32296e06e5d67bcdaa6f18e082f1 100644 (file)
@@ -9,6 +9,8 @@
  *
  */
 
+#ifdef CONFIG_NET_NS
+
 #include <linux/module.h>
 #include <linux/slab.h>
 #include <linux/sched.h>
@@ -20,9 +22,6 @@
 #include <wrapper/vmalloc.h>
 #include <lttng/tracer.h>
 
-#if defined(CONFIG_NET_NS) && \
-       (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
-
 static
 size_t net_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset)
 {
This page took 0.023311 seconds and 4 git commands to generate.