X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-vpid.c;h=28178b9ead50bc3cb3b8b100bb675269cadafbe7;hb=2bc89292c6ac6030a7498a798671cca921ae61df;hp=31a2c15e48dee190e08ca1120205521d01b5c89b;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-vpid.c b/lttng-context-vpid.c index 31a2c15e..28178b9e 100644 --- a/lttng-context-vpid.c +++ b/lttng-context-vpid.c @@ -10,10 +10,10 @@ #include #include #include -#include -#include +#include +#include #include -#include +#include static size_t vpid_get_size(size_t offset) @@ -83,7 +83,7 @@ int lttng_add_vpid_to_ctx(struct lttng_ctx **ctx) field->record = vpid_record; field->get_value = vpid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_vpid_to_ctx);