X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-vgid.c;h=a833915f89cb9fa9f2fd4cdd3c3d92cf12778981;hb=2df37e95fa4303ecc0db41334452665491533641;hp=92ac567b828b1a8f8ec615252d647696e400c5a7;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-vgid.c b/lttng-context-vgid.c index 92ac567b..a833915f 100644 --- a/lttng-context-vgid.c +++ b/lttng-context-vgid.c @@ -11,9 +11,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include @@ -70,7 +70,7 @@ int lttng_add_vgid_to_ctx(struct lttng_ctx **ctx) field->record = vgid_record; field->get_value = vgid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_vgid_to_ctx);