Version 2.4.4
[lttng-modules.git] / lttng-context-prio.c
index e2f37d9eb6a38435acd254d756aba64177efad01..891a315d7b990cc1133204f7263034faa35be3b4 100644 (file)
@@ -86,12 +86,13 @@ int lttng_add_prio_to_ctx(struct lttng_ctx **ctx)
        field->event_field.type.atype = atype_integer;
        field->event_field.type.u.basic.integer.size = sizeof(int) * CHAR_BIT;
        field->event_field.type.u.basic.integer.alignment = lttng_alignof(int) * CHAR_BIT;
-       field->event_field.type.u.basic.integer.signedness = is_signed_type(int);
+       field->event_field.type.u.basic.integer.signedness = lttng_is_signed_type(int);
        field->event_field.type.u.basic.integer.reverse_byte_order = 0;
        field->event_field.type.u.basic.integer.base = 10;
        field->event_field.type.u.basic.integer.encoding = lttng_encode_none;
        field->get_size = prio_get_size;
        field->record = prio_record;
+       lttng_context_update(*ctx);
        wrapper_vmalloc_sync_all();
        return 0;
 }
@@ -100,3 +101,7 @@ EXPORT_SYMBOL_GPL(lttng_add_prio_to_ctx);
 MODULE_LICENSE("GPL and additional rights");
 MODULE_AUTHOR("Mathieu Desnoyers");
 MODULE_DESCRIPTION("Linux Trace Toolkit Priority Context");
+MODULE_VERSION(__stringify(LTTNG_MODULES_MAJOR_VERSION) "."
+       __stringify(LTTNG_MODULES_MINOR_VERSION) "."
+       __stringify(LTTNG_MODULES_PATCHLEVEL_VERSION)
+       LTTNG_MODULES_EXTRAVERSION);
This page took 0.024236 seconds and 4 git commands to generate.