Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751467Ab1COBgq (ORCPT ); Mon, 14 Mar 2011 21:36:46 -0400 Received: from www.tglx.de ([62.245.132.106]:44716 "EHLO www.tglx.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750874Ab1COBgp (ORCPT ); Mon, 14 Mar 2011 21:36:45 -0400 Date: Tue, 15 Mar 2011 02:35:55 +0100 (CET) From: Thomas Gleixner To: "Frank Ch. Eigler" cc: Andrew Morton , Srikar Dronamraju , int-list-linux-mm@kvack.org, linux-mm@kvack.org, Peter Zijlstra , Ingo Molnar , Steven Rostedt , Arnaldo Carvalho de Melo , Linus Torvalds , Masami Hiramatsu , Christoph Hellwig , Ananth N Mavinakayanahalli , Andi Kleen , Oleg Nesterov , Jim Keniston , SystemTap , LKML , "Paul E. McKenney" Subject: Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes In-Reply-To: Message-ID: References: <20110314133403.27435.7901.sendpatchset@localhost6.localdomain6> <20110314163028.a05cec49.akpm@linux-foundation.org> User-Agent: Alpine 2.00 (LFD 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1291 Lines: 47 On Mon, 14 Mar 2011, Frank Ch. Eigler wrote: > akpm wrote: > > > [...] How do you envisage these features actually get used? > > Patch #20/20 in the set includes an ftrace-flavoured debugfs frontend. And you really think that: # cd /sys/kernel/debug/tracing/ # cat /proc/`pgrep zsh`/maps | grep /bin/zsh | grep r-xp 00400000-0048a000 r-xp 00000000 08:03 130904 /bin/zsh # objdump -T /bin/zsh | grep -w zfree 0000000000446420 g DF .text 0000000000000012 Base zfree # echo 'p /bin/zsh:0x46420 %ip %ax' > uprobe_events # cat uprobe_events p:uprobes/p_zsh_0x46420 /bin/zsh:0x0000000000046420 > TODO: Documentation/trace/uprobetrace.txt without a reasonable documentation how to use that is a brilliant argument? > Previous versions of the patchset included perf front-ends too, which > are probably to be seen again. Ahh, probably. What does that mean? And if that probably happens, what interface is that supposed to use? The above magic wrapped into perf ? Or some sensible implementation ? Thanks, tglx -- 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/