X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=liblttng-ust%2Flttng-context-ip.c;h=84c7349981fe6936d9c9cc29fa374fcdb725735e;hb=0ab954a902a026e67721d46f68a83b5dc8228fc6;hp=6f3edf83b65903c4a9ff8bbac023fa681ae88c0c;hpb=96f85541c4e3773d3d1579f04f84633bc9bb6696;p=lttng-ust.git diff --git a/liblttng-ust/lttng-context-ip.c b/liblttng-ust/lttng-context-ip.c index 6f3edf83..84c73499 100644 --- a/liblttng-ust/lttng-context-ip.c +++ b/liblttng-ust/lttng-context-ip.c @@ -27,7 +27,7 @@ #include static -size_t ip_get_size(size_t offset) +size_t ip_get_size(struct lttng_ctx_field *field, size_t offset) { size_t size = 0; @@ -69,5 +69,6 @@ int lttng_add_ip_to_ctx(struct lttng_ctx **ctx) field->event_field.type.u.basic.integer.encoding = lttng_encode_none; field->get_size = ip_get_size; field->record = ip_record; + lttng_context_update(*ctx); return 0; }