X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-pid.c;h=a84a284c36ef174f103c86c4698db003a9bbcff7;hb=2459130397d7e7eecc44a5f06a39d65c78257eef;hp=3cdc51284588994a164c38bbdc72b7dfe5d4ed6d;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-pid.c b/lttng-context-pid.c index 3cdc5128..a84a284c 100644 --- a/lttng-context-pid.c +++ b/lttng-context-pid.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include @@ -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);