X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=include%2Finstrumentation%2Fevents%2Fext3.h;h=cb1f6884d99f195235c1fb7ae7a1eaf9b775a499;hb=758c244b6ef2113a475213f072826419585cc75a;hp=8852a1eea3bcbfbf8bb789d1addc20accee4b5e4;hpb=4f47ccf08dfac3d5db7553eb8b40bdab19764727;p=lttng-modules.git diff --git a/include/instrumentation/events/ext3.h b/include/instrumentation/events/ext3.h index 8852a1ee..cb1f6884 100644 --- a/include/instrumentation/events/ext3.h +++ b/include/instrumentation/events/ext3.h @@ -6,7 +6,7 @@ #define LTTNG_TRACE_EXT3_H #include -#include +#include LTTNG_TRACEPOINT_EVENT(ext3_free_inode, TP_PROTO(struct inode *inode), @@ -17,7 +17,7 @@ LTTNG_TRACEPOINT_EVENT(ext3_free_inode, ctf_integer(dev_t, dev, inode->i_sb->s_dev) ctf_integer(ino_t, ino, inode->i_ino) ctf_integer(umode_t, mode, inode->i_mode) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,5,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,5,0)) ctf_integer(uid_t, uid, i_uid_read(inode)) ctf_integer(gid_t, gid, i_gid_read(inode)) #else @@ -190,7 +190,7 @@ LTTNG_TRACEPOINT_EVENT_INSTANCE(ext3__page_op, ext3_releasepage, TP_ARGS(page) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3,11,0)) +#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,11,0)) LTTNG_TRACEPOINT_EVENT(ext3_invalidatepage, TP_PROTO(struct page *page, unsigned int offset, unsigned int length),