aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorDarrick J. Wong <darrick.wong@oracle.com>2019-02-01 09:08:51 -0800
committerDarrick J. Wong <darrick.wong@oracle.com>2019-02-11 16:06:39 -0800
commitb9454fe056bda3b208225e4ac76bcc7c912f350a (patch)
tree692d4f1aae2cf6f37f868ced8eae43994c17a64d /tools/perf/scripts/python/stackcollapse.py
parentxfs: hoist inode cluster checks out of loop (diff)
downloadlinux-dev-b9454fe056bda3b208225e4ac76bcc7c912f350a.tar.xz
linux-dev-b9454fe056bda3b208225e4ac76bcc7c912f350a.zip
xfs: clean up the inode cluster checking in the inobt scrub
The code to check inobt records against inode clusters is a mess of poorly named variables and unnecessary parameters. Clean the unnecessary inode number parameters out of _check_cluster_freemask in favor of computing them inside the function instead of making the caller do it. In xchk_iallocbt_check_cluster, rename the variables to make it more obvious just what chunk_ino and cluster_ino represent. Add a tracepoint to make it easier to track each inode cluster as we scrub it. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Brian Foster <bfoster@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions