Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / lttng-context-procname.c
index 8e4bbf97b52bb8485cc2f7b99c252a247bdb0f5a..fc40f6cf8f55f798d4452c231562724786a67c18 100644 (file)
@@ -71,7 +71,7 @@ int lttng_add_procname_to_ctx(struct lttng_ctx **ctx)
        field->record = procname_record;
        field->get_value = procname_get_value;
        lttng_context_update(*ctx);
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 }
 EXPORT_SYMBOL_GPL(lttng_add_procname_to_ctx);
This page took 0.022806 seconds and 4 git commands to generate.