fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
[lttng-modules.git] / tests / probes / lttng-test.c
index 5064a685dad971693e3ee3bd04edb77491cbe2d3..86007e5e73d2cc66d28fdce600fdf49c4ad0a912 100644 (file)
 #define LTTNG_INSTRUMENTATION
 #include <instrumentation/events/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.023266 seconds and 4 git commands to generate.