fix: Adjust ranges for Ubuntu 5.4.0-67 kernel
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 15 Apr 2021 14:53:21 +0000 (10:53 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 15 Apr 2021 17:14:19 +0000 (13:14 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ifa0f50ffdc946d80b67bb5ae7ca4b0aa152e825b

instrumentation/events/lttng-module/writeback.h

index 6633e239aea8f9997e51897e86bacc81ee012c4e..55aa896c47a9b60edd32a55778b61c7fabaef107 100644 (file)
@@ -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"},        \
This page took 0.026814 seconds and 4 git commands to generate.