X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=lttng-context-hostname.c;h=17dbd5776100d0d7c145edfbfe8d5fdf6016460e;hb=da0fcb1497ff2437407883647a8a0bba12bd0f91;hp=e485aa9742c567a2befb343ffa9e17e925af2f4f;hpb=e3273c971bfe4cbc8b852b2fe07c8af0a2b3bbd8;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);