X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-hostname.c;h=b8fa5149993c7a69f52b75b2b77c869cc4e3a0f7;hb=3b4aafcbbef722c5d04f2fe06a47c47d4d23eda0;hp=0bbb1c78d78f3479000d1672585187408e3dbccf;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-hostname.c b/lttng-context-hostname.c index 0bbb1c78..b8fa5149 100644 --- a/lttng-context-hostname.c +++ b/lttng-context-hostname.c @@ -12,7 +12,7 @@ #include #include #include -#include +#include #include #include @@ -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);