X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fjbd.h;fp=instrumentation%2Fevents%2Flttng-module%2Fjbd.h;h=df070def4b9e7b788b9b0e9811ea0e087eefe586;hb=360d3efee55154a55c18be32175bee608dcb21df;hp=b3c9a7a1eb17228f82c1e9e56f3ae9630dd17cb1;hpb=c8d38a68e21703af9b2287120cab1a52d24db9f7;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/jbd.h b/instrumentation/events/lttng-module/jbd.h index b3c9a7a1..df070def 100644 --- a/instrumentation/events/lttng-module/jbd.h +++ b/instrumentation/events/lttng-module/jbd.h @@ -6,7 +6,7 @@ #include #include -#include +#include LTTNG_TRACEPOINT_EVENT(jbd_checkpoint, @@ -28,7 +28,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) @@ -71,7 +71,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) @@ -85,7 +85,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) @@ -100,7 +100,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) @@ -123,7 +123,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,