Fix: prio context NULL pointer exception
[lttng-modules.git] / src / lttng-context-prio.c
index ea1a5ea6ca655d87894eba9d8d9a7016269c06cc..aac10a6399ac8618a42e23c299edd8d41a0c7ee7 100644 (file)
@@ -29,6 +29,7 @@ int wrapper_task_prio_init(void)
        }
        return 0;
 }
+EXPORT_SYMBOL_GPL(wrapper_task_prio_init);
 
 /*
  * Canary function to check for 'task_prio()' at compile time.
@@ -75,7 +76,7 @@ void prio_get_value(void *priv,
 static const struct lttng_kernel_ctx_field *ctx_field = lttng_kernel_static_ctx_field(
        lttng_kernel_static_event_field("prio",
                lttng_kernel_static_type_integer_from_type(int, __BYTE_ORDER, 10),
-               false, false, false),
+               false, false),
        prio_get_size,
        prio_record,
        prio_get_value,
This page took 0.025912 seconds and 4 git commands to generate.