X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=tests%2Fprobes%2Flttng-test.c;h=d35cb18bee916c1213ad741d5723b1de94791e2f;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=7d7982b3cc2782f75716ef7637555952de1be3d8;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/tests/probes/lttng-test.c b/tests/probes/lttng-test.c index 7d7982b3..d35cb18b 100644 --- a/tests/probes/lttng-test.c +++ b/tests/probes/lttng-test.c @@ -90,7 +90,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, };