diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2016-12-04 20:31:50 -0500 |
---|---|---|
committer | Dave Chinner <david@fromorbit.com> | 2016-12-04 20:31:50 -0500 |
commit | 7710517fc37b1899722707883b54694ea710b3c0 (patch) | |
tree | 4782213b0529c6efa54ea40287f17f6ede5045fb /tools/perf/scripts/python/stackcollapse.py | |
parent | 200237d6746faaeaf7f4ff4abbf13f3917cee60a (diff) |
xfs: pass state not whichfork to trace_xfs_extlist
When xfs_bmap_trace_exlist called trace_xfs_extlist,
it sent in the "whichfork" var instead of the bmap "state"
as expected (even though state was already set up for this
purpose).
As a result, the xfs_bmap_class in tracing code used
"whichfork" not state in xfs_iext_state_to_fork(), and got
the wrong ifork pointer. It all goes downhill from
there, including an ASSERT when ifp_bytes is empty
by the time it reaches xfs_iext_get_ext():
XFS: Assertion failed: idx < ifp->if_bytes / sizeof(xfs_bmbt_rec_t)
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions