Re: Unused event xfs_growfs_check_rtgeom

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:

 #ifndef __KERENL__

around them too.

-- Steve




[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux