X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-hostname.c;h=86c5d021dd9c42f4cfedbfc250d889a691e5a7f9;hb=117ab60f69a98dcbc365de8008ab93e6699d153a;hp=0bbb1c78d78f3479000d1672585187408e3dbccf;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-hostname.c b/lttng-context-hostname.c index 0bbb1c78..86c5d021 100644 --- a/lttng-context-hostname.c +++ b/lttng-context-hostname.c @@ -11,10 +11,10 @@ #include #include #include -#include -#include +#include +#include #include -#include +#include #define LTTNG_HOSTNAME_CTX_LEN (__NEW_UTS_LEN + 1) @@ -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);