X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-ppid.c;h=854c5159d69fe2d92d28dd8716fad170d192527c;hb=117ab60f69a98dcbc365de8008ab93e6699d153a;hp=8935fad019256b5aeef441a6fcec2afeeee2c1cc;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-ppid.c b/lttng-context-ppid.c index 8935fad0..854c5159 100644 --- a/lttng-context-ppid.c +++ b/lttng-context-ppid.c @@ -11,10 +11,10 @@ #include #include #include -#include -#include +#include +#include #include -#include +#include static size_t ppid_get_size(size_t offset) @@ -90,7 +90,7 @@ int lttng_add_ppid_to_ctx(struct lttng_ctx **ctx) field->record = ppid_record; field->get_value = ppid_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_ppid_to_ctx);