X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-context-hostname.c;h=17dbd5776100d0d7c145edfbfe8d5fdf6016460e;hb=refs%2Fheads%2Fstable-2.11;hp=e485aa9742c567a2befb343ffa9e17e925af2f4f;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/lttng-context-hostname.c b/lttng-context-hostname.c index e485aa97..17dbd577 100644 --- a/lttng-context-hostname.c +++ b/lttng-context-hostname.c @@ -101,7 +101,7 @@ int lttng_add_hostname_to_ctx(struct lttng_ctx **ctx) field->record = hostname_record; field->get_value = hostname_get_value; lttng_context_update(*ctx); - wrapper_vmalloc_sync_all(); + wrapper_vmalloc_sync_mappings(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_hostname_to_ctx);