Namespace kernel version macros
[lttng-modules.git] / tests / probes / lttng-test.c
index b450e7d77a5394d8514f92a87ad78a414a6b3ec5..d550398e4d7e6cf4ca71ad192deca77d0b8b6821 100644 (file)
 #define LTTNG_INSTRUMENTATION
 #include <instrumentation/events/lttng-module/lttng-test.h>
 
-DEFINE_TRACE(lttng_test_filter_event);
+LTTNG_DEFINE_TRACE(lttng_test_filter_event,
+       PARAMS(int anint, int netint, long *values,
+               char *text, size_t textlen,
+               char *etext, uint32_t * net_values),
+       PARAMS(anint, netint, values, text, textlen, etext, net_values)
+);
 
 #define LTTNG_TEST_FILTER_EVENT_FILE   "lttng-test-filter-event"
 
@@ -81,7 +86,7 @@ end:
        return written;
 }
 
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0))
+#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,6,0))
 static const struct proc_ops lttng_test_filter_event_proc_ops = {
        .proc_write = lttng_test_filter_event_write,
 };
This page took 0.023236 seconds and 4 git commands to generate.