X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fwriteback.h;h=8c0ea8c6332ff59433196ea3af3a53d6fb26b7ba;hb=2855acb90b52f1a4f87d04dbaa48cb49025f1535;hp=9ce9a421c7f86d7c04c3c0a0e41e2bb13b67249c;hpb=aeb710571db8b87d9de8d1a5e3a789d169baadcd;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/writeback.h b/instrumentation/events/lttng-module/writeback.h index 9ce9a421..8c0ea8c6 100644 --- a/instrumentation/events/lttng-module/writeback.h +++ b/instrumentation/events/lttng-module/writeback.h @@ -65,7 +65,8 @@ static inline struct backing_dev_info *lttng_inode_to_bdi(struct inode *inode) #endif -#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,9,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,9,0) || \ + LTTNG_UBUNTU_KERNEL_RANGE(5,4,94,67, 5,5,0,0)) #define show_inode_state(state) \ __print_flags(state, "|", \ {I_DIRTY_SYNC, "I_DIRTY_SYNC"}, \