aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorDave Chinner <[email protected]>2021-06-01 13:40:35 +1000
committerDave Chinner <[email protected]>2021-06-01 13:40:35 +1000
commit07b5c5add42a0afccf79401b12d78043ed6b8240 (patch)
tree64e299663c7aa996a84b8957bfdf84c42faf43de /tools/perf/scripts/python/flamegraph.py
parent0a683794ace283984ae95ea6796f37b5f3afc446 (diff)
xfs: use xfs_buf_alloc_pages for uncached buffers
Use the newly factored out page allocation code. This adds automatic buffer zeroing for non-read uncached buffers. This also allows us to greatly simply the error handling in xfs_buf_get_uncached(). Because xfs_buf_alloc_pages() cleans up partial allocation failure, we can just call xfs_buf_free() in all error cases now to clean up after failures. Signed-off-by: Dave Chinner <[email protected]> Reviewed-by: Darrick J. Wong <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions