xfs: add tracepoints for each of the externally visible allocators
authorDarrick J. Wong <djwong@kernel.org>
Thu, 16 Mar 2023 00:30:33 +0000 (17:30 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sun, 19 Mar 2023 16:55:49 +0000 (09:55 -0700)
commite6fbb7167ed005783ac5aef3e75699f45ffe2af8
tree0b7f1fa039eb5c411841e3f23d341ef72dbb17c1
parent9eb775968b68d049fb3b00353f12cd10308527c7
xfs: add tracepoints for each of the externally visible allocators

There are now five separate space allocator interfaces exposed to the
rest of XFS for five different strategies to find space.  Add
tracepoints for each of them so that I can tell from a trace dump
exactly which ones got called and what happened underneath them.  Add a
sixth so it's more obvious if an allocation actually happened.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/libxfs/xfs_alloc.c
fs/xfs/xfs_trace.h