X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=lttng-context-hostname.c;fp=lttng-context-hostname.c;h=15aabe63c3f18bb31800f9b7ed61fc14dd6a859d;hb=a9dd15dadd7d58f58cfd19d2503d3b6b541723bc;hp=4ecee6355162292027ef3799f59ab55441a1c07e;hpb=6f0af2643c40b57280796eaa4fe60ce4f678b6dc;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; }