Drop support for kernels < 4.4 from jbd2 instrumentation
authorMichael Jeanson <mjeanson@efficios.com>
Mon, 21 Nov 2022 16:49:45 +0000 (11:49 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 23 Nov 2022 20:06:16 +0000 (15:06 -0500)
Change-Id: Ia954795f4a5cc4d718eec70b4e6d9919e32bbf27
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/instrumentation/events/jbd2.h

index a356a80cefeb71cdb3a122d1741eacd7c6c85ea6..6c1e0d7aed47f68c78bb8717bff2737f2cf4b8d2 100644 (file)
@@ -137,12 +137,7 @@ LTTNG_TRACEPOINT_EVENT(jbd2_checkpoint_stats,
        )
 )
 
-#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,4,0))
 LTTNG_TRACEPOINT_EVENT(jbd2_update_log_tail,
-#else
-LTTNG_TRACEPOINT_EVENT(jbd2_cleanup_journal_tail,
-#endif
-
        TP_PROTO(journal_t *journal, tid_t first_tid,
                 unsigned long block_nr, unsigned long freed),
 
@@ -196,7 +191,7 @@ LTTNG_TRACEPOINT_EVENT(jbd2_write_superblock,
 #endif
        )
 )
-#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,4,0))
+#else
 LTTNG_TRACEPOINT_EVENT(jbd2_write_superblock,
 
        TP_PROTO(journal_t *journal, int write_op),
This page took 0.02608 seconds and 4 git commands to generate.