diff options
author | Jeff Mahoney <jeffm@suse.com> | 2017-07-12 16:20:08 -0600 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-08-16 16:12:01 +0200 |
commit | 00142756e1f8015d2f8ce96532d156689db7e448 (patch) | |
tree | 7f21d4788cb9939c63dd2f11f4c3ffdb6700039b /fs/btrfs/super.c | |
parent | 6c336b212bef66e507897c78551b3bb4e613a857 (diff) | |
download | linux-00142756e1f8015d2f8ce96532d156689db7e448.tar.bz2 |
btrfs: backref, add tracepoints for prelim_ref insertion and merging
This patch adds a tracepoint event for prelim_ref insertion and
merging. For each, the ref being inserted or merged and the count
of tree nodes is issued.
Signed-off-by: Jeff Mahoney <jeffm@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r-- | fs/btrfs/super.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c index 12540b6104b5..58650f2e0f17 100644 --- a/fs/btrfs/super.c +++ b/fs/btrfs/super.c @@ -61,6 +61,7 @@ #include "tests/btrfs-tests.h" #include "qgroup.h" +#include "backref.h" #define CREATE_TRACE_POINTS #include <trace/events/btrfs.h> |