Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / probes / lttng-uprobes.c
index 64d8237ca6eac2cbbc1c07df5f976dc7dd45367c..bc1012895f958b48a1542443432ed7162b5bbbc7 100644 (file)
@@ -161,7 +161,7 @@ int lttng_uprobes_add_callsite(struct lttng_event *event,
        }
 
        /* Ensure the memory we just allocated don't trigger page faults. */
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
 
        uprobe_handler->event = event;
        uprobe_handler->up_consumer.handler = lttng_uprobes_handler_pre;
This page took 0.022822 seconds and 4 git commands to generate.