X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fjbd2.h;h=6c1e0d7aed47f68c78bb8717bff2737f2cf4b8d2;hb=1efbdb9f014bb9378a6cba60fad47a8e906b8e45;hp=a356a80cefeb71cdb3a122d1741eacd7c6c85ea6;hpb=09b8e4f68074a7e5c5b5ee3474dc21e6d7667f45;p=lttng-modules.git 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),