Cleanup: remove 2.6.35 compat code
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 21 Oct 2022 16:12:23 +0000 (12:12 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 24 Oct 2022 15:21:26 +0000 (11:21 -0400)
Change-Id: If429446d63fe6c33cd995b0e0e04bd26c5111cc7
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/wrapper/tracepoint.h

index d5f3207594194dd7a2bc9c66a1462bab6abcebeb..10c9fce6e5eebb97997d4271ed282c211367a1a1 100644 (file)
        DEFINE_TRACE(name)
 #endif
 
-#ifndef HAVE_KABI_2635_TRACEPOINT
-
-#define kabi_2635_tracepoint_probe_register tracepoint_probe_register
-#define kabi_2635_tracepoint_probe_unregister tracepoint_probe_unregister
-
-#endif /* HAVE_KABI_2635_TRACEPOINT */
-
 #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0))
 
 #include <lttng/tracepoint.h>
@@ -38,8 +31,8 @@
 
 #else /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0)) */
 
-#define lttng_wrapper_tracepoint_probe_register kabi_2635_tracepoint_probe_register
-#define lttng_wrapper_tracepoint_probe_unregister kabi_2635_tracepoint_probe_unregister
+#define lttng_wrapper_tracepoint_probe_register tracepoint_probe_register
+#define lttng_wrapper_tracepoint_probe_unregister tracepoint_probe_unregister
 
 static inline
 int lttng_tracepoint_init(void)
This page took 0.027108 seconds and 4 git commands to generate.