X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Flttng-context-pid-ns.c;h=7458ed322d23a5aa194e5d94dde723998b1f132b;hb=HEAD;hp=fa66b1dda277c7549c38fb57e6feec0b5837bf06;hpb=93e5bcec1d8d550a1983bbc013248dbd83573cc7;p=lttng-modules.git diff --git a/src/lttng-context-pid-ns.c b/src/lttng-context-pid-ns.c index fa66b1dd..7458ed32 100644 --- a/src/lttng-context-pid-ns.c +++ b/src/lttng-context-pid-ns.c @@ -9,6 +9,8 @@ * */ +#ifdef CONFIG_PID_NS + #include #include #include @@ -19,9 +21,6 @@ #include #include -#if defined(CONFIG_PID_NS) && \ - (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0)) - static size_t pid_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset) {