summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-08-24 17:24:26 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:21 +0300
commitc79adfc085c0662385cfcb55f15590303212e8e9 (patch)
tree56de865729349310e8e70178deb57a392104a757 /tools/perf/scripts/python
parente3f153886702302482918a3788ba3bb24a37a4aa (diff)
downloadlinux-c79adfc085c0662385cfcb55f15590303212e8e9.tar.xz
btrfs: use assertion helpers for extent buffer write lock counters
Use the helpers where open coded. On non-debug builds, the warnings will not trigger and extent_buffer::write_locks become unused and can be moved to the appropriate section, saving a few bytes. 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')
0 files changed, 0 insertions, 0 deletions