diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-25 10:06:33 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2025-03-26 16:26:35 -0400 |
commit | 9c893face2f0506f0f21ad71b0d77dae34d6b569 (patch) | |
tree | d5c0eed6ebd8af22c4c666ce3c9c726b913f11d5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e1e50a63308f5f97587e89a17084a7fd65d4958f (diff) |
bcachefs: Validate number of counters for accounting keys
We weren't checking that accounting keys have the expected number of
accounters. Originally we probably wanted to be flexible on this, but it
doesn't look like that will be required - accounting is extended by
adding new counter types, not more counters to an existing type.
This means we can drop a BUG_ON() that popped once in automated testing,
and the new validation will make that bug easier to track down.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions