summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@redhat.com>2026-10-02 16:08:11 -0500
committerCarlos Maiolino <cem@kernel.org>2026-10-08 13:12:28 +0200
commit1d55a10278054fbebb9f571c99c32dac42327361 (patch)
tree59b0dcc064c62c913836ec539abe3928ac3b7754 /tools/perf/scripts/python/stackcollapse.py
parent1e3f1adf6d533b503bc2356129bd7e27c199ad5b (diff)
downloadlinux-1d55a10278054fbebb9f571c99c32dac42327361.tar.gz
linux-1d55a10278054fbebb9f571c99c32dac42327361.zip
xfs: re-use refcount scrub/repair code for rtrefcount
Some code in scrub/rtrefcount.c is copied from scrub/refcount.c; it differs only in function & structure names and a couple types and macros, which share the same underlying types and values. Similarly for code in fs/xfs/scrub/[rt]refcount_repair.c Make the refcount versions non-static and use them for rtrefcount scrubbing, eliminate the copies, and add build-time asserts so that the type/value matches mentioned above do not drift. Signed-off-by: Eric Sandeen <sandeen@redhat.com> Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Carlos Maiolino <cem@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions