Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752124Ab0GIGEd (ORCPT ); Fri, 9 Jul 2010 02:04:33 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:53744 "EHLO e36.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750815Ab0GIGEb (ORCPT ); Fri, 9 Jul 2010 02:04:31 -0400 Date: Fri, 9 Jul 2010 11:26:44 +0530 From: Srikar Dronamraju To: Christoph Hellwig Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Randy Dunlap , Arnaldo Carvalho de Melo , Linus Torvalds , 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: [PATCHv8 2.6.35-rc4-tip 12/12] perf: Show Potential probe points. Message-ID: <20100709055644.GD26884@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20100708171003.29165.57615.sendpatchset@localhost6.localdomain6> <20100708171225.29165.28806.sendpatchset@localhost6.localdomain6> <20100708202057.GC30946@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100708202057.GC30946@infradead.org> 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: 1161 Lines: 32 > > Show all potential probes in a process by pid 21106 across all dsos > > # perf probe -S -p 21106 | tail > > Again, a file based interface would be much more useful. E.g. what > possible probe points do I have in my qemu binary. Right, Currently perf probe needs -p option because it depend on thread->map_groups for listing the dsos and its functions. I am not sure if perf already has ability to list functions in a file esp if we dont have dwarf information in that file. If perf has the ability I will reuse it here or will try implementing one. Arnaldo, Do you know offhand if perf already has the ability to list functions in a file (with / without dwarf info). > > Btw, this doesn't mean I want to see the PID based variant removed, it > can be very useful for debugging long running processes. I just don't > think it's the most important / conveniant one. Agree. -- 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/