projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Drop support for kernels < 4.4 from ns contexts
[lttng-modules.git]
/
src
/
lttng-context-uts-ns.c
diff --git
a/src/lttng-context-uts-ns.c
b/src/lttng-context-uts-ns.c
index 455b16038bdad31edef3457ddd3fb4168761449e..ca0c58fc11e01681aa3d9d4d656afc478362bddf 100644
(file)
--- a/
src/lttng-context-uts-ns.c
+++ b/
src/lttng-context-uts-ns.c
@@
-9,6
+9,8
@@
*
*/
*
*/
+#ifdef CONFIG_UTS_NS
+
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/sched.h>
@@
-19,9
+21,6
@@
#include <wrapper/vmalloc.h>
#include <lttng/tracer.h>
#include <wrapper/vmalloc.h>
#include <lttng/tracer.h>
-#if defined(CONFIG_UTS_NS) && \
- (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,8,0))
-
static
size_t uts_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset)
{
static
size_t uts_ns_get_size(void *priv, struct lttng_kernel_probe_ctx *probe_ctx, size_t offset)
{
This page took
0.042138 seconds
and
4
git commands to generate.