From: Michael Jeanson Date: Mon, 21 Nov 2022 16:49:45 +0000 (-0500) Subject: Drop support for kernels < 4.4 from jbd2 instrumentation X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=1efbdb9f014bb9378a6cba60fad47a8e906b8e45;p=lttng-modules.git Drop support for kernels < 4.4 from jbd2 instrumentation Change-Id: Ia954795f4a5cc4d718eec70b4e6d9919e32bbf27 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/include/instrumentation/events/jbd2.h b/include/instrumentation/events/jbd2.h index a356a80c..6c1e0d7a 100644 --- a/include/instrumentation/events/jbd2.h +++ b/include/instrumentation/events/jbd2.h @@ -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),