diff options
| author | David Sterba <dsterba@suse.com> | 2018-08-24 17:13:41 +0300 |
|---|---|---|
| committer | David Sterba <dsterba@suse.com> | 2019-04-29 20:02:21 +0300 |
| commit | 58a2ddaedbf74b8a209426128c130cc9f0dbd11b (patch) | |
| tree | 963b3c5e936dfab65624b44d062ddc615ff201a3 /tools/perf/scripts/python/stackcollapse.py | |
| parent | afd495a8264fb25cef49834b5c3559b8aaa612ee (diff) | |
| download | linux-58a2ddaedbf74b8a209426128c130cc9f0dbd11b.tar.xz | |
btrfs: add assertion helpers for extent buffer read lock counters
The read_locks are a simple counter to track locking balance and used to
assert tree locks. Add helpers to make it conditionally work only in
DEBUG builds. Will be used in followup patches.
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
