Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754647AbZKTQoV (ORCPT ); Fri, 20 Nov 2009 11:44:21 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752885AbZKTQoR (ORCPT ); Fri, 20 Nov 2009 11:44:17 -0500 Received: from casper.infradead.org ([85.118.1.10]:60078 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754173AbZKTQoO (ORCPT ); Fri, 20 Nov 2009 11:44:14 -0500 Date: Fri, 20 Nov 2009 08:45:37 -0800 From: Arjan van de Ven To: Jamie Lokier Cc: Christoph Hellwig , Ingo Molnar , "Kok, Auke" , "Frank Ch. Eigler" , Jeff Garzik , "Wu, Fengguang" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , Al Viro , Frederic Weisbecker Subject: Re: [PATCH] vfs: Add a trace point in the mark_inode_dirty function Message-ID: <20091120084537.6e28ddd2@infradead.org> In-Reply-To: <20091120160526.GD20634@shareable.org> References: <20091025225342.007138f5@infradead.org> <20091111020108.GA11423@localhost> <20091110223456.01ef355f@infradead.org> <4AFA6AEF.5060306@garzik.org> <20091111081905.270a4e55@infradead.org> <4AFB4AC7.1090405@intel.com> <20091112072217.GA31719@elte.hu> <20091120104335.GB29143@infradead.org> <20091120064511.268cc8fd@infradead.org> <20091120160526.GD20634@shareable.org> Organization: Intel X-Mailer: Claws Mail 3.7.3 (GTK+ 2.16.6; i586-redhat-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 906 Lines: 25 On Fri, 20 Nov 2009 16:05:26 +0000 Jamie Lokier wrote: > Arjan van de Ven wrote: > > in my case it's not about finding the file, but finding the place in > > the application that is doing the writing. The last pathname > > component is more than enough for this.... > > So what you really need is the source file and line number in your > application where it does the writing :-) while you present this as a joke.... perf can more or less do this using the backtrace infrastructure ... -- Arjan van de Ven Intel Open Source Technology Centre For development, discussion and tips for power savings, visit http://www.lesswatts.org -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/