Fix: cleanup local_apps.allowed flag on lib cleanup
[lttng-ust.git] / liblttng-ust / lttng-context-ip.c
index 6f3edf83b65903c4a9ff8bbac023fa681ae88c0c..84c7349981fe6936d9c9cc29fa374fcdb725735e 100644 (file)
@@ -27,7 +27,7 @@
 #include <lttng/ringbuffer-config.h>
 
 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;
 }
This page took 0.022868 seconds and 4 git commands to generate.