From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Subject: Re: Add simple way to add statistic counters to debugfs Date: Fri, 2 Dec 2011 11:18:24 -0800 Message-ID: <20111202191824.GB13613@kroah.com> References: <1322851407-17182-1-git-send-email-andi@firstfloor.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, fengguang.wu@intel.com To: Andi Kleen Return-path: Content-Disposition: inline In-Reply-To: <1322851407-17182-1-git-send-email-andi@firstfloor.org> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On Fri, Dec 02, 2011 at 10:43:24AM -0800, Andi Kleen wrote: > This extends debugfs to make it very simple to add per cpu counters > statistics that are exported there. This is useful for all kind > of debugging situations. The counters have very little overhead > and are simpler to use than trace points. > > This is the infrastructure for debugfs and a demo application > to instrument the dcache RCU which I developed some time ago > to track down some problems there. > > Posting here also so that Fengguang can use it. > > Module support is still missing, but could be added without too > much work. I like this a lot, very nice job. I just had one comment with the first patch. And yes, I would like module support as well, but others can add that if they really need it :) Care to fix up the first patch and I'll be glad to take the two debugfs patches and any others if you want me to. thanks, greg k-h