X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-pid.c;h=f3e4aef11b21520dcd0bdc630ca7444306bbff2b;hb=2df37e95fa4303ecc0db41334452665491533641;hp=3cdc51284588994a164c38bbdc72b7dfe5d4ed6d;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-pid.c b/lttng-context-pid.c index 3cdc5128..f3e4aef1 100644 --- a/lttng-context-pid.c +++ b/lttng-context-pid.c @@ -10,10 +10,10 @@ #include #include #include -#include -#include +#include +#include #include -#include +#include static size_t pid_get_size(size_t offset) @@ -68,7 +68,7 @@ int lttng_add_pid_to_ctx(struct lttng_ctx **ctx) field->record = pid_record; field->get_value = pid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_pid_to_ctx);