summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorQu Wenruo <wqu@suse.com>2018-04-24 13:03:13 +0800
committerDavid Sterba <dsterba@suse.com>2018-05-28 18:07:26 +0200
commitb545993694a6e3bf6e801071df00e0ad47526bb8 (patch)
tree53fdf01aea020490b4d53ed74dee16523535e55d /tools/perf/scripts/python
parent833aae18fcb768ef8e97faea42e768521154cd21 (diff)
btrfs: print-tree: Add eb locking status output for debug build
It's pretty handy if we can get the debug output for locking status of an extent buffer, specially for race condition related debugging. So add the following output for btrfs_print_tree() and btrfs_print_leaf(): - refs - write_locks (as w:%d) - read_locks (as r:%d) - blocking_writers (as bw:%d) - blocking_readers (as br:%d) - spinning_writers (as sw:%d) - spinning_readers (as sr:%d) - lock_owner - current->pid Signed-off-by: Qu Wenruo <wqu@suse.com> Reviewed-by: David Sterba <dsterba@suse.com> [ update comment ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions