X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=instrumentation%2Fevents%2Flttng-module%2Frandom.h;h=12e2865bb2d1c5a74a777feb937d034d4b333a87;hb=2d0428212cbfa3f8428feee160b095f48c2ac974;hp=80b227968e611e058840d8c191971fd9918ff0ea;hpb=e0f2366419fc59700e575bab82a41255c51de2dc;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/random.h b/instrumentation/events/lttng-module/random.h index 80b22796..12e2865b 100644 --- a/instrumentation/events/lttng-module/random.h +++ b/instrumentation/events/lttng-module/random.h @@ -38,7 +38,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE_MAP(random__mix_pool_bytes, mix_pool_bytes_noloc TP_ARGS(pool_name, bytes, IP) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,2,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,2,0)) LTTNG_TRACEPOINT_EVENT_MAP(credit_entropy_bits, random_credit_entropy_bits,