X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=tests%2Fprobes%2Flttng-test.c;h=c3d9cca55b0f33d30c8426dff2c89a5567e8323b;hb=b78104db53f97c10add30016e365855a26f6e01e;hp=c728bed51f5d696931e200b6221e7592528c411d;hpb=da0fcb1497ff2437407883647a8a0bba12bd0f91;p=lttng-modules.git diff --git a/tests/probes/lttng-test.c b/tests/probes/lttng-test.c index c728bed5..c3d9cca5 100644 --- a/tests/probes/lttng-test.c +++ b/tests/probes/lttng-test.c @@ -26,7 +26,12 @@ #define LTTNG_INSTRUMENTATION #include -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" @@ -82,7 +87,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, };