Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / probes / lttng-kprobes.c
index c0a15e47a0c0b4db1cef98c27cf960dead54790f..a44eaa11d7a1d0a4ffcdabd5880d69622c126994 100644 (file)
@@ -132,7 +132,7 @@ int lttng_kprobes_register(const char *name,
         * Well.. kprobes itself puts the page fault handler on the blacklist,
         * but we can never be too careful.
         */
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
 
        ret = register_kprobe(&event->u.kprobe.kp);
        if (ret)
This page took 0.02356 seconds and 4 git commands to generate.