aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-10-21 14:01:19 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:44 -0400
commited80c5699a23c4005ba8e81d4b8fb3e1b922fa40 (patch)
tree3c2dd5e984480c39efbaa6ea19011bacbeec10d1 /tools/perf/scripts/python/exported-sql-viewer.py
parent2d485df3da368193dafc78be933669d427b7ddf7 (diff)
bcachefs: Optimize bch2_dev_usage_read()
- add bch2_dev_usage_read_fast(), which doesn't return by value - bch_dev_usage is big enough that we don't want the silent memcpy - tweak the allocation path to only call bch2_dev_usage_read() once per bucket allocated Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions