summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2018-08-24 17:15:51 +0300
committerDavid Sterba <dsterba@suse.com>2019-04-29 20:02:21 +0300
commit5c9c799ab78336a4161b16126952a7e1320a8c77 (patch)
treec419a5edcab793e6ed655ace2cb53649262be61e /tools/perf/scripts/python
parent58a2ddaedbf74b8a209426128c130cc9f0dbd11b (diff)
downloadlinux-5c9c799ab78336a4161b16126952a7e1320a8c77.tar.xz
btrfs: use assertion helpers for extent buffer read lock counters
Use the helpers where open coded. On non-debug builds, the warnings will not trigger and extent_buffer::read_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