X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=instrumentation%2Fevents%2Flttng-module%2Fext4.h;h=4f117c93521b60341f3be186cb3c5dc21859a963;hb=3395f24e5fa675db5a3bed08ac2b536ab1999b2c;hp=17809d21fa82373ddb96ecc4318af49cf90d0726;hpb=bb0eb66dd8cd35e2837fbb408667ab3f73c624e6;p=lttng-modules.git diff --git a/instrumentation/events/lttng-module/ext4.h b/instrumentation/events/lttng-module/ext4.h index 17809d21..4f117c93 100644 --- a/instrumentation/events/lttng-module/ext4.h +++ b/instrumentation/events/lttng-module/ext4.h @@ -106,7 +106,7 @@ LTTNG_TRACEPOINT_EVENT(ext4_mark_inode_dirty, TP_FIELDS( ctf_integer(dev_t, dev, inode->i_sb->s_dev) ctf_integer(ino_t, ino, inode->i_ino) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ) ) @@ -1265,7 +1265,7 @@ LTTNG_TRACEPOINT_EVENT(ext4_journal_start, TP_FIELDS( ctf_integer(dev_t, dev, sb->s_dev) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ctf_integer(int, blocks, blocks) ctf_integer(int, rsv_blocks, rsv_blocks) ctf_integer(int, revoke_creds, revoke_creds) @@ -1279,7 +1279,7 @@ LTTNG_TRACEPOINT_EVENT(ext4_journal_start_reserved, TP_FIELDS( ctf_integer(dev_t, dev, sb->s_dev) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ctf_integer(int, blocks, blocks) ) ) @@ -1294,7 +1294,7 @@ LTTNG_TRACEPOINT_EVENT(ext4_journal_start, TP_FIELDS( ctf_integer(dev_t, dev, sb->s_dev) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ctf_integer(int, blocks, blocks) ctf_integer(int, rsv_blocks, rsv_blocks) ) @@ -1307,7 +1307,7 @@ LTTNG_TRACEPOINT_EVENT(ext4_journal_start_reserved, TP_FIELDS( ctf_integer(dev_t, dev, sb->s_dev) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ctf_integer(int, blocks, blocks) ) ) @@ -1321,7 +1321,7 @@ LTTNG_TRACEPOINT_EVENT(ext4_journal_start, TP_FIELDS( ctf_integer(dev_t, dev, sb->s_dev) - ctf_integer(unsigned long, ip, IP) + ctf_integer_hex(unsigned long, ip, IP) ctf_integer(int, nblocks, nblocks) ) ) @@ -1483,7 +1483,8 @@ LTTNG_TRACEPOINT_EVENT(ext4_ext_show_extent, ) ) -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,20,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,20,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,147,0,0, 4,19,0,0,0,0)) LTTNG_TRACEPOINT_EVENT(ext4_remove_blocks, TP_PROTO(struct inode *inode, struct ext4_extent *ex, @@ -1550,7 +1551,8 @@ LTTNG_TRACEPOINT_EVENT(ext4_remove_blocks, #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,20,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,20,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,147,0,0, 4,19,0,0,0,0)) LTTNG_TRACEPOINT_EVENT(ext4_ext_rm_leaf, TP_PROTO(struct inode *inode, ext4_lblk_t start, @@ -1659,7 +1661,8 @@ LTTNG_TRACEPOINT_EVENT(ext4_ext_remove_space, #endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,20,0)) +#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,20,0) || \ + LTTNG_RHEL_KERNEL_RANGE(4,18,0,147,0,0, 4,19,0,0,0,0)) LTTNG_TRACEPOINT_EVENT(ext4_ext_remove_space_done, TP_PROTO(struct inode *inode, ext4_lblk_t start, ext4_lblk_t end,