X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fjbd.h;fp=include%2Finstrumentation%2Fevents%2Fjbd.h;h=7d0e9c8757f4f9c308ed1e7aa5287893bf983e07;hb=5f4c791e2ad2c814101ccdb500e65543f2792c41;hp=e9aabd692cdbcc85d95f10fd3bbc6e9eaed56d8d;hpb=be06402dbdbea2f3394e60ec15c5d3356e2be416;p=lttng-modules.git diff --git a/include/instrumentation/events/jbd.h b/include/instrumentation/events/jbd.h index e9aabd69..7d0e9c87 100644 --- a/include/instrumentation/events/jbd.h +++ b/include/instrumentation/events/jbd.h @@ -7,7 +7,7 @@ #include #include -#include +#include LTTNG_TRACEPOINT_EVENT(jbd_checkpoint, @@ -29,7 +29,7 @@ LTTNG_TRACEPOINT_EVENT_CLASS(jbd_commit, TP_FIELDS( ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev) -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0)) ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit) #endif ctf_integer(int, transaction, commit_transaction->t_tid) @@ -72,7 +72,7 @@ LTTNG_TRACEPOINT_EVENT(jbd_drop_transaction, TP_FIELDS( ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev) -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0)) ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit) #endif ctf_integer(int, transaction, commit_transaction->t_tid) @@ -86,7 +86,7 @@ LTTNG_TRACEPOINT_EVENT(jbd_end_commit, TP_FIELDS( ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev) -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0)) ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit) #endif ctf_integer(int, transaction, commit_transaction->t_tid) @@ -101,7 +101,7 @@ LTTNG_TRACEPOINT_EVENT(jbd_do_submit_data, TP_FIELDS( ctf_integer(dev_t, dev, journal->j_fs_dev->bd_dev) -#if (LINUX_VERSION_CODE < KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE < LTTNG_KERNEL_VERSION(3,5,0)) ctf_integer(char, sync_commit, commit_transaction->t_synchronous_commit) #endif ctf_integer(int, transaction, commit_transaction->t_tid) @@ -124,7 +124,7 @@ LTTNG_TRACEPOINT_EVENT(jbd_cleanup_journal_tail, ) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,5,0)) LTTNG_TRACEPOINT_EVENT_MAP(journal_write_superblock, jbd_journal_write_superblock,