Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / probes / lttng-kretprobes.c
index 40938f2b7110bd5506862d982ee8deca997bc614..133158fe44f0bdc12bd6d4c7bfcf5af793d83b04 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.022928 seconds and 4 git commands to generate.