xfs: remove unused xfs_attr events
authorSteven Rostedt <rostedt@goodmis.org>
Mon, 16 Jun 2025 17:51:52 +0000 (13:51 -0400)
committerCarlos Maiolino <cem@kernel.org>
Thu, 24 Jul 2025 15:30:12 +0000 (17:30 +0200)
commitb54480c3b10d4f617e20c51f749015729db74228
tree4724096d9aed0bcd3361a28b85ed2729ad67546c
parentb3b5015d3454ae347644c99ec94bec7cba664716
xfs: remove unused xfs_attr events

Trace events can take up to 5K in memory for text and meta data per event
regardless if they are used or not, so they should not be defined when not
used. The events xfs_attr_fillstate and xfs_attr_refillstate are only
called in code that is #ifdef out and exists only for future reference.

Remove these unused events. If the code is needed again, then git history
can recover what the events were.

Suggested-by: Christoph Hellwig <hch@lst.de>
Fixes: 59782a236b622 ("xfs: remove xfs_attri_remove_iter")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
fs/xfs/xfs_trace.h