X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-hostname.c;fp=lttng-context-hostname.c;h=a16da3507de719e7a8468f96aa268018103de916;hb=263b6c88138c3354d63dba3c70a965de94becd22;hp=0bbb1c78d78f3479000d1672585187408e3dbccf;hpb=a65765406b03e4f3b7a4303e1c9ed83c86cdd358;p=lttng-modules.git diff --git a/lttng-context-hostname.c b/lttng-context-hostname.c index 0bbb1c78..a16da350 100644 --- a/lttng-context-hostname.c +++ b/lttng-context-hostname.c @@ -100,7 +100,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);