X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fext4.h;h=5a61962b7c06e64afda8d25622a1e0a80b093ecc;hb=7c9ce67310dd8c689bdcbd317c41dcfebc63e883;hp=88ab394c03020eea673122fefd63324dbe7378a4;hpb=20e546d0894624fd82af092414d9a4927c7d6ea5;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),