mirror of
https://github.com/torvalds/linux.git
synced 2026-05-27 16:44:58 +02:00
xfs: remove unused event xfs_alloc_near_nominleft
When the function xfs_alloc_space_available() was restructured, it removed
the only calls to the trace event xfs_alloc_near_nominleft. As trace
events take up to 5K of memory for text and meta data for each event, they
should not be created when not used. Remove this unused event.
Fixes: 54fee133ad ("xfs: adjust allocation length in xfs_alloc_space_available")
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
This commit is contained in:
parent
237f8e8851
commit
f110060559
|
|
@ -2266,7 +2266,6 @@ DEFINE_EVENT(xfs_alloc_class, name, \
|
|||
DEFINE_ALLOC_EVENT(xfs_alloc_exact_done);
|
||||
DEFINE_ALLOC_EVENT(xfs_alloc_exact_notfound);
|
||||
DEFINE_ALLOC_EVENT(xfs_alloc_exact_error);
|
||||
DEFINE_ALLOC_EVENT(xfs_alloc_near_nominleft);
|
||||
DEFINE_ALLOC_EVENT(xfs_alloc_near_first);
|
||||
DEFINE_ALLOC_EVENT(xfs_alloc_cur);
|
||||
DEFINE_ALLOC_EVENT(xfs_alloc_cur_right);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user