X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-context-hostname.c;h=15aabe63c3f18bb31800f9b7ed61fc14dd6a859d;hb=ebfdc61210a82cb0d2015fad92359a97a75d49ce;hp=4ecee6355162292027ef3799f59ab55441a1c07e;hpb=5f79e67ecff15c0461df0cb3274b3b90cc39826d;p=lttng-modules.git diff --git a/lttng-context-hostname.c b/lttng-context-hostname.c index 4ecee635..15aabe63 100644 --- a/lttng-context-hostname.c +++ b/lttng-context-hostname.c @@ -89,6 +89,7 @@ int lttng_add_hostname_to_ctx(struct lttng_ctx **ctx) field->get_size = hostname_get_size; field->record = hostname_record; + lttng_context_update(*ctx); wrapper_vmalloc_sync_all(); return 0; }