Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756494Ab1DFWuY (ORCPT ); Wed, 6 Apr 2011 18:50:24 -0400 Received: from e35.co.us.ibm.com ([32.97.110.153]:52498 "EHLO e35.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755966Ab1DFWuX (ORCPT ); Wed, 6 Apr 2011 18:50:23 -0400 Date: Thu, 7 Apr 2011 04:20:13 +0530 From: Srikar Dronamraju To: Masami Hiramatsu Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Ananth N Mavinakayanahalli , Christoph Hellwig , Andi Kleen , Thomas Gleixner , Jonathan Corbet , Oleg Nesterov , LKML , Jim Keniston , Roland McGrath , SystemTap , Andrew Morton Subject: Re: [PATCH v3 2.6.39-rc1-tip 23/26] 23: perf: show possible probes in a given executable file or library. Message-ID: <20110406225013.GB5806@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20110401143223.15455.19844.sendpatchset@localhost6.localdomain6> <20110401143707.15455.66114.sendpatchset@localhost6.localdomain6> <4D999A2F.4020204@hitachi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <4D999A2F.4020204@hitachi.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1337 Lines: 41 * Masami Hiramatsu [2011-04-04 19:15:11]: > (2011/04/01 23:37), Srikar Dronamraju wrote: > > Enhances -F/--funcs option of "perf probe" to list possible probe points in > > an executable file or library. A new option -e/--exe specifies the path of > > the executable or library. > > I think you'd better use -x for abbr. of --exe, since -e is used for --event > for other subcommands. Okay, > > And also, it seems this kind of patch should be placed after perf-probe > uprobe support patch, because without uprobe support, user binary analysis > is meaningless. (In the result, this introduces -u/--uprobe option without > uprobe support) > Okay, I can do that, Should we do the listing before or after the uprobe can place a breakpoint is arguable. > > > Show last 10 functions in /bin/zsh. > > > > # perf probe -F -u -e /bin/zsh | tail > > I also can't understand why -u is required even if we have -x for user > binaries and -m for kernel modules. > yes, for the listing we can certainly do without -u option. -- 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/