X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fext4.h;fp=include%2Finstrumentation%2Fevents%2Fext4.h;h=5a61962b7c06e64afda8d25622a1e0a80b093ecc;hb=b6af46d166c48c9e59600a60b5a2a7ead10f179a;hp=88ab394c03020eea673122fefd63324dbe7378a4;hpb=817e02f9e256b8f2cbb9e3125eb061757b83bd4a;p=lttng-modules.git diff --git a/include/instrumentation/events/ext4.h b/include/instrumentation/events/ext4.h index 88ab394c..5a61962b 100644 --- a/include/instrumentation/events/ext4.h +++ b/include/instrumentation/events/ext4.h @@ -460,7 +460,8 @@ LTTNG_TRACEPOINT_EVENT(ext4_mb_release_group_pa, ) #endif -#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),