Return-Path: Received: from aserp2120.oracle.com ([141.146.126.78]:36388 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725825AbeJLHEq (ORCPT ); Fri, 12 Oct 2018 03:04:46 -0400 Date: Thu, 11 Oct 2018 16:34:43 -0700 From: "Darrick J. Wong" To: Christoph Hellwig Cc: david@fromorbit.com, sandeen@redhat.com, linux-nfs@vger.kernel.org, linux-cifs@vger.kernel.org, linux-unionfs@vger.kernel.org, linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-btrfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, ocfs2-devel@oss.oracle.com Subject: Re: [PATCH 01/25] xfs: add a per-xfs trace_printk macro Message-ID: <20181011233443.GD28243@magnolia> References: <153923113649.5546.9840926895953408273.stgit@magnolia> <153923114361.5546.11838344265359068530.stgit@magnolia> <20181011133934.GA23424@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20181011133934.GA23424@infradead.org> Sender: linux-nfs-owner@vger.kernel.org List-ID: On Thu, Oct 11, 2018 at 06:39:34AM -0700, Christoph Hellwig wrote: > On Wed, Oct 10, 2018 at 09:12:23PM -0700, Darrick J. Wong wrote: > > From: Darrick J. Wong > > > > 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. I got tired enough of typing it to add a ewwgross macro, and then got tired enough of maintaining the patch, let's see what Dave says. :) --D