diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2016-11-17 15:00:50 -0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-01-09 11:27:02 +0100 |
commit | 92a1bf76a89ad338f00eb9a2c7689a3907fbcaad (patch) | |
tree | 511666ba1680037a16dd7e4c6cf925e3b32e72f7 /fs | |
parent | ac0c7cf8be00f269f82964cf7b144ca3edc5dbc4 (diff) | |
download | linux-92a1bf76a89ad338f00eb9a2c7689a3907fbcaad.tar.gz linux-92a1bf76a89ad338f00eb9a2c7689a3907fbcaad.tar.bz2 linux-92a1bf76a89ad338f00eb9a2c7689a3907fbcaad.zip |
Btrfs: add 'inode' for extent map tracepoint
'inode' is an important field for btrfs_get_extent, lets trace it.
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index a713d9d324b0..fab189c67eff 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c @@ -7059,7 +7059,7 @@ insert: write_unlock(&em_tree->lock); out: - trace_btrfs_get_extent(root, em); + trace_btrfs_get_extent(root, inode, em); btrfs_free_path(path); if (trans) { |