X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-hostname.c;h=8462da4199f207fbdb2346255fb1ba42b57b86f1;hb=904912a51b63cda67a67942f1bcc3fe8b1a565a5;hp=0bbb1c78d78f3479000d1672585187408e3dbccf;hpb=ceabb767180e064629b5a9ab4ed14449da864763;p=lttng-modules.git diff --git a/lttng-context-hostname.c b/lttng-context-hostname.c index 0bbb1c78..8462da41 100644 --- a/lttng-context-hostname.c +++ b/lttng-context-hostname.c @@ -13,7 +13,6 @@ #include #include #include -#include #include #define LTTNG_HOSTNAME_CTX_LEN (__NEW_UTS_LEN + 1) @@ -100,7 +99,6 @@ 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(); return 0; } EXPORT_SYMBOL_GPL(lttng_add_hostname_to_ctx);