Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / probes / lttng-kretprobes.c
index 4b18d46077df8749c7c01dfea52c67384b3f0406..ab98ff221d85b0f1bd5c7c3242927d747c33f5fb 100644 (file)
@@ -221,7 +221,7 @@ int lttng_kretprobes_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_kretprobe(&lttng_krp->krp);
        if (ret)
This page took 0.024338 seconds and 4 git commands to generate.