Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760695Ab0HEPTs (ORCPT ); Thu, 5 Aug 2010 11:19:48 -0400 Received: from bombadil.infradead.org ([18.85.46.34]:36086 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759258Ab0HEPTp (ORCPT ); Thu, 5 Aug 2010 11:19:45 -0400 Date: Thu, 5 Aug 2010 12:19:30 -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: <20100805151930.GB12570@ghostprotocols.net> References: <20100727110855.24690.26901.sendpatchset@localhost6.localdomain6> <20100727111119.24690.74064.sendpatchset@localhost6.localdomain6> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100727111119.24690.74064.sendpatchset@localhost6.localdomain6> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-08-17) X-SRS-Rewrite: SMTP reverse-path rewritten from by bombadil.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: 719 Lines: 17 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. 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/