Re: [PATCH v3 0/8] ref_tracker: add ability to register a debugfs file for a ref_tracker_dir

From: Andrew Lunn
Date: Thu Apr 17 2025 - 15:32:41 EST


On Thu, Apr 17, 2025 at 09:11:03AM -0400, Jeff Layton wrote:
> I had previously sent some patches to add debugfs files for the net
> namespace refcount trackers, but Andrew convinced me to make this more
> generic and better-integrated into the ref_tracker infrastructure.
>
> This adds a new ref_tracker_dir_debugfs() call that subsystems can call
> to finalize the name of their dir and register a debugfs file for it.
> The last two patches add these calls for the netns and netdev
> ref_trackers.

Thanks for reworking this to make is more subsystem generic. I hope
the GPU people also find it useful.

Andrew