kprobes: remove kernel version blacklist
[lttng-modules.git] / lttng-ring-buffer-metadata-client.h
index 17ffd7593812a45af8f80e75a7b25e1301e4cfe9..aef77806d8f997d2f934a0d9f14d4df12ea6573f 100644 (file)
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1)
+/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only)
  *
  * lttng-ring-buffer-client.h
  *
@@ -9,7 +9,6 @@
 
 #include <linux/module.h>
 #include <linux/types.h>
-#include <wrapper/vmalloc.h>   /* for wrapper_vmalloc_sync_all() */
 #include <lttng-events.h>
 #include <lttng-tracer.h>
 
@@ -348,7 +347,6 @@ void lttng_event_strcpy(struct lib_ring_buffer_ctx *ctx, const char *src,
 
 static
 size_t lttng_packet_avail_size(struct channel *chan)
-                            
 {
        unsigned long o_begin;
        struct lib_ring_buffer *buf;
@@ -424,11 +422,6 @@ static struct lttng_transport lttng_relay_transport = {
 
 static int __init lttng_ring_buffer_client_init(void)
 {
-       /*
-        * This vmalloc sync all also takes care of the lib ring buffer
-        * vmalloc'd module pages when it is built as a module into LTTng.
-        */
-       wrapper_vmalloc_sync_all();
        lttng_transport_register(&lttng_relay_transport);
        return 0;
 }
This page took 0.022977 seconds and 4 git commands to generate.