X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fext4.h;h=f9a55e294ba8e2a03ebd5a0d4d45ee0c116211dd;hb=f60ce55b1b89a9e96b698e2dbb2aa52c945870db;hp=064419e978679378fa158f2fdc1cb6560fa395ff;hpb=31410ccab881175f57e17ed041cb9e7c4f831cfa;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/ext4.h b/instrumentation/events/lttng-module/ext4.h index 064419e9..f9a55e29 100644 --- a/instrumentation/events/lttng-module/ext4.h +++ b/instrumentation/events/lttng-module/ext4.h @@ -547,7 +547,8 @@ LTTNG_TRACEPOINT_EVENT(ext4_mb_release_group_pa, ) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,9,0) || \ + LTTNG_KERNEL_RANGE(5,8,6, 5,9,0)) LTTNG_TRACEPOINT_EVENT(ext4_discard_preallocations, TP_PROTO(struct inode *inode, unsigned int len, unsigned int needed),