kprobes: remove kernel version blacklist
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:47:42 +0000 (16:47 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 20:56:30 +0000 (16:56 -0400)
blacklist/kprobes.h [deleted file]
probes/lttng-kprobes.c
probes/lttng-kretprobes.c

diff --git a/blacklist/kprobes.h b/blacklist/kprobes.h
deleted file mode 100644 (file)
index 5740d8d..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/* SPDX-License-Identifier: (GPL-2.0-only OR LGPL-2.1-only)
- *
- * blacklist/kprobes.h
- *
- * Blacklist of kernel for buggy kprobes implementation.
- *
- * Copyright (C) 2019 Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
- */
-
-#ifndef _LTTNG_BLACKLIST_KPROBES_H
-#define _LTTNG_BLACKLIST_KPROBES_H
-
-#include <lttng-kernel-version.h>
-
-#if LTTNG_KERNEL_RANGE(4,20,0, 4,20,13) \
-       || LTTNG_KERNEL_RANGE(4,19,9, 4,19,26) \
-       || LTTNG_KERNEL_RANGE(4,14,87, 4,14,104)
-# if defined(CONFIG_ARM) && defined(CONFIG_OPTPROBES)
-#  error "Your kernel is known to have buggy optimized kprobes implementation. Fixed by commit 0ac569bf6a7983c0c5747d6df8db9dc05bc92b6c \"ARM: 8834/1: Fix: kprobes: optimized kprobes illegal instruction\" in Linux. Disable CONFIG_OPTPROBES or upgrade your kernel."
-# endif /* #if defined(CONFIG_ARM) && defined(CONFIG_OPTPROBES) */
-#endif
-
-#endif /* _LTTNG_BLACKLIST_KPROBES_H */
index e3f82ad354f4dbc2787ee6b03af146218c246796..c4605500f630b2786f3d053d4c81b51d79e3e410 100644 (file)
@@ -14,7 +14,6 @@
 #include <wrapper/ringbuffer/frontend_types.h>
 #include <wrapper/irqflags.h>
 #include <lttng-tracer.h>
-#include <blacklist/kprobes.h>
 
 static
 int lttng_kprobes_handler_pre(struct kprobe *p, struct pt_regs *regs)
index d208292622135ec5a36ae11166c395bbeb149062..2cc4927b353e0ef0bbd8b80d1f3472517ea10f18 100644 (file)
@@ -15,7 +15,6 @@
 #include <wrapper/ringbuffer/frontend_types.h>
 #include <wrapper/irqflags.h>
 #include <lttng-tracer.h>
-#include <blacklist/kprobes.h>
 
 enum lttng_kretprobe_type {
        EVENT_ENTRY = 0,
This page took 0.02991 seconds and 4 git commands to generate.