X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fblock.h;fp=instrumentation%2Fevents%2Flttng-module%2Fblock.h;h=5ea557d9a9b722ff96e893d3be440e65dfda612c;hb=4d05fa52af60a6ca88f32c45a1cb7069f105492d;hp=2af4fb326ba911e2d686a932069d0cd54e68fdc8;hpb=293bea4d5c18ade7e67a020193579440e8616fb7;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/block.h b/instrumentation/events/lttng-module/block.h index 2af4fb32..5ea557d9 100644 --- a/instrumentation/events/lttng-module/block.h +++ b/instrumentation/events/lttng-module/block.h @@ -221,7 +221,8 @@ DEFINE_EVENT(block_rq_with_error, block_rq_requeue, TP_ARGS(q, rq) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,15,0) \ + || LTTNG_KERNEL_RANGE(3,2,58, 3,3,0)) /** * block_rq_complete - block IO operation completed by device driver