Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / lttng-syscalls.c
index a43c475e7b7f1f744018fd77f6ea179177ac7290..7720f4ea77a1c22e7f879a69c7f75fbc791ad89a 100644 (file)
@@ -761,7 +761,7 @@ int lttng_syscalls_register(struct lttng_channel *chan, void *filter)
        struct lttng_kernel_event ev;
        int ret;
 
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
 
        if (!chan->sc_table) {
                /* create syscall table mapping syscall to events */
This page took 0.023205 seconds and 4 git commands to generate.