Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760730Ab0HEPVa (ORCPT ); Thu, 5 Aug 2010 11:21:30 -0400 Received: from casper.infradead.org ([85.118.1.10]:57599 "EHLO casper.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759228Ab0HEPVZ (ORCPT ); Thu, 5 Aug 2010 11:21:25 -0400 Date: Thu, 5 Aug 2010 12:20:56 -0300 From: Arnaldo Carvalho de Melo To: Srikar Dronamraju Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Randy Dunlap , Linus Torvalds , Christoph Hellwig , Masami Hiramatsu , Oleg Nesterov , Mark Wielaard , Mathieu Desnoyers , LKML , Naren A Devaiah , Jim Keniston , Frederic Weisbecker , "Frank Ch. Eigler" , Ananth N Mavinakayanahalli , Andrew Morton , "Paul E. McKenney" Subject: Re: [PATCHv10 2.6.35-rc6-tip 12/14] perf: Add third parameter to symbol_filter_t. Message-ID: <20100805152056.GC12570@ghostprotocols.net> References: <20100727110855.24690.26901.sendpatchset@localhost6.localdomain6> <20100727111119.24690.74064.sendpatchset@localhost6.localdomain6> <20100805151930.GB12570@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100805151930.GB12570@ghostprotocols.net> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-08-17) 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: 932 Lines: 21 Em Thu, Aug 05, 2010 at 12:19:30PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Jul 27, 2010 at 04:41:19PM +0530, Srikar Dronamraju escreveu: > > GElf_Sym for a symbol is needed to filter out based on binding, > > type, value. This will be needed to list only global binding > > functions when listing functions from perf probe. > > Humm, I think it is better to store the symbol binding in struct symbol, > so that we can have the full symtab and then, on a particular routine, > decide wheter we should use it or not. One extra reason is that when we read the symtab from kallsyms, we don't have a GElf_Sym to pass to the filter. > I'll cook up a patch now. > > - Arnaldo -- 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/