diff options
| author | Qu Wenruo <[email protected]> | 2018-04-24 13:03:13 +0800 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2018-05-28 18:07:26 +0200 |
| commit | b545993694a6e3bf6e801071df00e0ad47526bb8 (patch) | |
| tree | 53fdf01aea020490b4d53ed74dee16523535e55d /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 833aae18fcb768ef8e97faea42e768521154cd21 (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 <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ update comment ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions