summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2024-01-02 15:18:07 -0500
committerDavid Sterba <dsterba@suse.com>2024-03-04 16:24:45 +0100
commit8fd2b12e6a414b383692c7f5ca05ab75204bdece (patch)
tree82396854d1f8c633cf43fc80c5dea18ff1656e31 /tools/perf/scripts/python
parent592a0ce9e2d928f6cba285e1d59ca89ce7f7c88e (diff)
btrfs: WARN_ON_ONCE() in our leak detection code
fstests looks for WARN_ON's in dmesg. Add WARN_ON_ONCE() to our leak detection code (enabled only in debug builds) so that fstests will fail if these things trip at all. This will allow us to easily catch problems with our reference counting that may otherwise go unnoticed. Reviewed-by: Neal Gompa <neal@gompa.dev> Reviewed-by: Anand Jain <anand.jain@oracle.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions