Re: Unused event xfs_growfs_check_rtgeom
From: Christoph Hellwig
Date: Fri Jun 13 2025 - 01:59:58 EST
On Thu, Jun 12, 2025 at 02:46:08PM -0400, Steven Rostedt wrote:
> On Thu, 12 Jun 2025 10:47:37 -0700
> "Darrick J. Wong" <djwong@xxxxxxxxxx> wrote:
>
> > On Thu, Jun 12, 2025 at 01:16:51PM -0400, Steven Rostedt wrote:
> > > I also found events: xfs_metadir_link and xfs_metadir_start_link are
> > > defined in fs/xfs/libxfs/xfs_metadir.c in a #ifndef __KERNEL__ section.
> > >
> > > Are these events ever used? Why are they called in !__KERNEL__ code?
> >
> > libxfs is shared with userspace, and xfs_repair uses them to relink old
> > quota files.
> >
>
> Does this userspace use these trace events? If so, I think the events
> need to have an:
They have stubs for them.