X-Git-Url: http://git.liburcu.org/?p=lttng-modules.git;a=blobdiff_plain;f=lttng-context-preemptible.c;h=0bd8e9127513cd914e1775c28a0576477eaa9c8e;hp=6a40f03a266bf44d66fa474c8ef84db26ec9a515;hb=2459130397d7e7eecc44a5f06a39d65c78257eef;hpb=ceabb767180e064629b5a9ab4ed14449da864763 diff --git a/lttng-context-preemptible.c b/lttng-context-preemptible.c index 6a40f03a..0bd8e912 100644 --- a/lttng-context-preemptible.c +++ b/lttng-context-preemptible.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include @@ -86,7 +86,7 @@ int lttng_add_preemptible_to_ctx(struct lttng_ctx **ctx) field->record = preemptible_record; field->get_value = preemptible_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_preemptible_to_ctx);