This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes
- From: Thomas Gleixner <tglx at linutronix dot de>
- To: "Frank Ch. Eigler" <fche at redhat dot com>
- Cc: Andrew Morton <akpm at linux-foundation dot org>, Srikar Dronamraju <srikar at linux dot vnet dot ibm dot com>, int-list-linux-mm at kvack dot org, linux-mm at kvack dot org, Peter Zijlstra <peterz at infradead dot org>, Ingo Molnar <mingo at elte dot hu>, Steven Rostedt <rostedt at goodmis dot org>, Arnaldo Carvalho de Melo <acme at infradead dot org>, Linus Torvalds <torvalds at linux-foundation dot org>, Masami Hiramatsu <masami dot hiramatsu dot pt at hitachi dot com>, Christoph Hellwig <hch at infradead dot org>, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, Andi Kleen <andi at firstfloor dot org>, Oleg Nesterov <oleg at redhat dot com>, Jim Keniston <jkenisto at linux dot vnet dot ibm dot com>, SystemTap <systemtap at sources dot redhat dot com>, LKML <linux-kernel at vger dot kernel dot org>, "Paul E. McKenney" <paulmck at linux dot vnet dot ibm dot com>
- Date: Tue, 15 Mar 2011 02:35:55 +0100 (CET)
- Subject: Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes
- References: <20110314133403.27435.7901.sendpatchset@localhost6.localdomain6> <20110314163028.a05cec49.akpm@linux-foundation.org> <y0maagxuqx6.fsf@fche.csb>
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