[Ocfs2-devel] [PATCH 01/25] xfs: add a per-xfs trace_printk macro

Christoph Hellwig hch at infradead.org
Thu Oct 11 06:39:34 PDT 2018


On Wed, Oct 10, 2018 at 09:12:23PM -0700, Darrick J. Wong wrote:
> From: Darrick J. Wong <darrick.wong at oracle.com>
> 
> Add a "xfs_tprintk" macro so that developers can use trace_printk to
> print out arbitrary debugging information with the XFS device name
> attached to the trace output.

I can't say I'm a fan of this.  trace_printk is a debugging aid,
and opencoding the file system name really isn't much of a burden.



More information about the Ocfs2-devel mailing list