X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-context-vsgid.c;h=c6a6ea7c8a30571b94c65ce5680e0f8283e8b680;hb=053e573fb9404dd90fc974a6c08baf71eea3bf14;hp=20987ddec5fc1dec255f7a83dd91636bb91177e2;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-vsgid.c b/lttng-context-vsgid.c index 20987dde..c6a6ea7c 100644 --- a/lttng-context-vsgid.c +++ b/lttng-context-vsgid.c @@ -11,9 +11,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include #include @@ -70,7 +70,7 @@ int lttng_add_vsgid_to_ctx(struct lttng_ctx **ctx) field->record = vsgid_record; field->get_value = vsgid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_vsgid_to_ctx);