Update for kernel 5.7: use vmalloc_sync_mappings on kernels >= 5.7
[lttng-modules.git] / lttng-context-callstack.c
index 195990a6e3e1292bebce8277a7b3bdefbd0d5acb..ba35a3940845399cfa73a605ea3d59c75002fc3c 100644 (file)
@@ -141,7 +141,7 @@ int __lttng_add_callstack_generic(struct lttng_ctx **ctx,
        field->record = lttng_callstack_record;
        field->priv = fdata;
        field->destroy = lttng_callstack_destroy;
-       wrapper_vmalloc_sync_all();
+       wrapper_vmalloc_sync_mappings();
        return 0;
 
 error_create:
This page took 0.023267 seconds and 4 git commands to generate.