Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754774Ab1FGQN2 (ORCPT ); Tue, 7 Jun 2011 12:13:28 -0400 Received: from e1.ny.us.ibm.com ([32.97.182.141]:48840 "EHLO e1.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753645Ab1FGQN0 (ORCPT ); Tue, 7 Jun 2011 12:13:26 -0400 Date: Tue, 7 Jun 2011 21:36:12 +0530 From: Srikar Dronamraju To: Arnaldo Carvalho de Melo Cc: Ananth N Mavinakayanahalli , Christoph Hellwig , Peter Zijlstra , Ingo Molnar , Steven Rostedt , Linux-mm , Linus Torvalds , Masami Hiramatsu , Hugh Dickins , Andi Kleen , Thomas Gleixner , Jonathan Corbet , Oleg Nesterov , Andrew Morton , Jim Keniston , Roland McGrath , LKML Subject: Re: [PATCH v4 3.0-rc2-tip 20/22] 20: perf: perf interface for uprobes Message-ID: <20110607160612.GB8876@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20110607125804.28590.92092.sendpatchset@localhost6.localdomain6> <20110607130216.28590.5724.sendpatchset@localhost6.localdomain6> <20110607133039.GA4929@infradead.org> <20110607133853.GC9949@in.ibm.com> <20110607142116.GA8311@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20110607142116.GA8311@ghostprotocols.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1594 Lines: 36 * Arnaldo Carvalho de Melo [2011-06-07 11:21:16]: > Em Tue, Jun 07, 2011 at 07:08:53PM +0530, Ananth N Mavinakayanahalli escreveu: > > On Tue, Jun 07, 2011 at 09:30:39AM -0400, Christoph Hellwig wrote: > > > On Tue, Jun 07, 2011 at 06:32:16PM +0530, Srikar Dronamraju wrote: > > > > Enhances perf probe to user space executables and libraries. > > > > Provides very basic support for uprobes. > > > > Nice. Does this require full debug info for symbolic probes, > > > or can it also work with simple symbolc information? > > > It works only with symbol information for now. > > It doesn't (yet) know how to use debuginfo :-) > > 'perf probe' uses perf symbol library, so it really don't have to know > from where symbol resolution information is obtained, only if it needs > things that are _just_ on debuginfo, such as line information, etc. > > But then that is also already supported in 'perf probe'. > > Or is there something else in particular you're thinking? > What Ananth was saying was that perf probe for uprobes still has to take advantage of tracing using line number; Also it is still restricted to showing only register contents and we still have to add support for variables. I know that perf symbol library has support for that just that we have to enable it for uprobes. -- Thanks and Regards Srikar -- 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/