"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "include/instrumentation/events/btrfs.h" between
lttng-modules-2.13.1.tar.bz2 and lttng-modules-2.13.2.tar.bz2

About: LTTng-modules (Linux Trace Toolkit Next Generation) is a system software package for correlated tracing of the Linux kernel, applications and libraries: This package contains the Linux kernel tracing modules.

btrfs.h  (lttng-modules-2.13.1.tar.bz2):btrfs.h  (lttng-modules-2.13.2.tar.bz2)
skipping to change at line 46 skipping to change at line 46
#endif #endif
#define BTRFS_UUID_SIZE 16 #define BTRFS_UUID_SIZE 16
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,0,0)) #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,0,0))
#define lttng_fs_info_fsid fs_info->fs_devices->fsid #define lttng_fs_info_fsid fs_info->fs_devices->fsid
#else #else
#define lttng_fs_info_fsid fs_info->fsid #define lttng_fs_info_fsid fs_info->fsid
#endif #endif
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0) || \ #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(5,17,0))
LTTNG_TRACEPOINT_EVENT(btrfs_transaction_commit,
TP_PROTO(const struct btrfs_fs_info *fs_info),
TP_ARGS(fs_info),
TP_FIELDS(
ctf_integer(u64, generation, fs_info->generation)
ctf_integer(u64, root_objectid, BTRFS_ROOT_TREE_OBJECTID)
)
)
#elif (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,73,5,0,0, 4,4,73,6,0,0) || \ LTTNG_SLE_KERNEL_RANGE(4,4,73,5,0,0, 4,4,73,6,0,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,82,6,0,0, 4,4,82,7,0,0) || \ LTTNG_SLE_KERNEL_RANGE(4,4,82,6,0,0, 4,4,82,7,0,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,92,6,0,0, 4,4,92,7,0,0) || \ LTTNG_SLE_KERNEL_RANGE(4,4,92,6,0,0, 4,4,92,7,0,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,103,6,0,0, 4,5,0,0,0,0)) LTTNG_SLE_KERNEL_RANGE(4,4,103,6,0,0, 4,5,0,0,0,0))
LTTNG_TRACEPOINT_EVENT(btrfs_transaction_commit, LTTNG_TRACEPOINT_EVENT(btrfs_transaction_commit,
TP_PROTO(const struct btrfs_root *root), TP_PROTO(const struct btrfs_root *root),
TP_ARGS(root), TP_ARGS(root),
TP_FIELDS( TP_FIELDS(
ctf_integer(u64, generation, root->fs_info->generation) ctf_integer(u64, generation, root->fs_info->generation)
ctf_integer(u64, root_objectid, root->root_key.objectid) ctf_integer(u64, root_objectid, root->root_key.objectid)
) )
) )
#else
LTTNG_TRACEPOINT_EVENT(btrfs_transaction_commit,
TP_PROTO(struct btrfs_root *root),
TP_ARGS(root),
TP_FIELDS(
ctf_integer(u64, generation, root->fs_info->generation)
ctf_integer(u64, root_objectid, root->root_key.objectid)
)
)
#endif
#if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(4,14,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,73,5,0,0, 4,4,73,6,0,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,82,6,0,0, 4,4,82,7,0,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,92,6,0,0, 4,4,92,7,0,0) || \
LTTNG_SLE_KERNEL_RANGE(4,4,103,6,0,0, 4,5,0,0,0,0))
LTTNG_TRACEPOINT_EVENT_CLASS(btrfs__inode, LTTNG_TRACEPOINT_EVENT_CLASS(btrfs__inode,
TP_PROTO(const struct inode *inode), TP_PROTO(const struct inode *inode),
TP_ARGS(inode), TP_ARGS(inode),
TP_FIELDS( TP_FIELDS(
ctf_integer(ino_t, ino, inode->i_ino) ctf_integer(ino_t, ino, inode->i_ino)
ctf_integer(blkcnt_t, blocks, inode->i_blocks) ctf_integer(blkcnt_t, blocks, inode->i_blocks)
ctf_integer(u64, disk_i_size, BTRFS_I(inode)->disk_i_size) ctf_integer(u64, disk_i_size, BTRFS_I(inode)->disk_i_size)
skipping to change at line 102 skipping to change at line 132
TP_ARGS(inode) TP_ARGS(inode)
) )
LTTNG_TRACEPOINT_EVENT_INSTANCE(btrfs__inode, btrfs_inode_evict, LTTNG_TRACEPOINT_EVENT_INSTANCE(btrfs__inode, btrfs_inode_evict,
TP_PROTO(const struct inode *inode), TP_PROTO(const struct inode *inode),
TP_ARGS(inode) TP_ARGS(inode)
) )
#else #else
LTTNG_TRACEPOINT_EVENT(btrfs_transaction_commit,
TP_PROTO(struct btrfs_root *root),
TP_ARGS(root),
TP_FIELDS(
ctf_integer(u64, generation, root->fs_info->generation)
ctf_integer(u64, root_objectid, root->root_key.objectid)
)
)
LTTNG_TRACEPOINT_EVENT_CLASS(btrfs__inode, LTTNG_TRACEPOINT_EVENT_CLASS(btrfs__inode,
TP_PROTO(struct inode *inode), TP_PROTO(struct inode *inode),
TP_ARGS(inode), TP_ARGS(inode),
TP_FIELDS( TP_FIELDS(
ctf_integer(ino_t, ino, inode->i_ino) ctf_integer(ino_t, ino, inode->i_ino)
ctf_integer(blkcnt_t, blocks, inode->i_blocks) ctf_integer(blkcnt_t, blocks, inode->i_blocks)
ctf_integer(u64, disk_i_size, BTRFS_I(inode)->disk_i_size) ctf_integer(u64, disk_i_size, BTRFS_I(inode)->disk_i_size)
 End of changes. 4 change blocks. 
13 lines changed or deleted 31 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)