btrfs: backref, add tracepoints for prelim_ref insertion and merging
authorJeff Mahoney <jeffm@suse.com>
Wed, 12 Jul 2017 22:20:08 +0000 (16:20 -0600)
committerDavid Sterba <dsterba@suse.com>
Wed, 16 Aug 2017 14:12:01 +0000 (16:12 +0200)
commit00142756e1f8015d2f8ce96532d156689db7e448
tree7f21d4788cb9939c63dd2f11f4c3ffdb6700039b
parent6c336b212bef66e507897c78551b3bb4e613a857
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>
fs/btrfs/backref.c
fs/btrfs/backref.h
fs/btrfs/super.c
include/trace/events/btrfs.h