diff options
author | David Sterba <dsterba@suse.com> | 2024-04-18 00:47:13 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2024-05-07 21:31:07 +0200 |
commit | fef998d1a0b00ab35658484060354213a2c06c81 (patch) | |
tree | 7be7c24ac830e780fb63ec9b1de0c79865da11d9 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 905a95f3dd25abba64cad3e7a96947fcb9bf7006 (diff) |
btrfs: use btrfs_is_testing() everywhere
There are open coded tests of BTRFS_FS_STATE_DUMMY_FS_INFO and we have a
wrapper for that that's a compile-time constant when self-tests are not
built in. As this is only for development we can save some bytes and
conditions on release configs by using the helper in the remaining
cases.
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions