Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / lttng-syscalls.c
index fb14f6b043a877a77176e94a5ff3926a4b180b07..97f1ba9444d758a0140652e09b98c239524048a2 100644 (file)
@@ -760,7 +760,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.024481 seconds and 4 git commands to generate.