aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2023-05-22 14:39:44 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:10:01 -0400
commit962210b281b327b236215c736b9f648369f0d39d (patch)
tree3a63cfebef930d3e6d116e75f4ec2c49621961cc /tools/perf/scripts/python/export-to-sqlite.py
parent0b438c5bfaebda3fdf6edc35d9572d4e2f66aef1 (diff)
bcachefs: Fix a buffer overrun in bch2_fs_usage_read()
We were copying the size of a struct bch_fs_usage_online to a struct bch_fs_usage, which is 8 bytes smaller. This adds some new helpers so we can do this correctly, and get rid of some magic +1s too. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions