X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fblock.h;fp=include%2Finstrumentation%2Fevents%2Fblock.h;h=3895c9d481f010acb1d3b35463692d39bb78e5d0;hb=fce87a6ebf4a69ab032f6d305d947d3973a3932a;hp=7ec7d619b6d2c3dd0e5e556b0b2af19b7cd3b648;hpb=05355f0bf8b4292ab7b8dc93571a568833b0a3c2;p=lttng-modules.git diff --git a/include/instrumentation/events/block.h b/include/instrumentation/events/block.h index 7ec7d619..3895c9d4 100644 --- a/include/instrumentation/events/block.h +++ b/include/instrumentation/events/block.h @@ -734,7 +734,9 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(block_rq, block_rq_merge, ) #endif -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,8,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,8,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,305,0,0, 4,19,0,0,0,0)) + /** * block_bio_complete - completed all work on the block operation * @q: queue holding the block operation