Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes
[Posted March 16, 2011 by corbet]
| From: |
| fche-AT-redhat.com (Frank Ch. Eigler) |
| To: |
| Andrew Morton <akpm-AT-linux-foundation.org> |
| Subject: |
| Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes |
| Date: |
| Mon, 14 Mar 2011 21:13:25 -0400 |
| Message-ID: |
| <y0maagxuqx6.fsf@fche.csb> |
| Cc: |
| Srikar Dronamraju <srikar-AT-linux.vnet.ibm.com>, int-list-linux-mm-AT-kvack.org, linux-mm-AT-kvack.org, Peter Zijlstra <peterz-AT-infradead.org>, Ingo Molnar <mingo-AT-elte.hu>, Steven Rostedt <rostedt-AT-goodmis.org>, Arnaldo Carvalho de Melo <acme-AT-infradead.org>, Linus Torvalds <torvalds-AT-linux-foundation.org>, Masami Hiramatsu <masami.hiramatsu.pt-AT-hitachi.com>, Christoph Hellwig <hch-AT-infradead.org>, Ananth N Mavinakayanahalli <ananth-AT-in.ibm.com>, Andi Kleen <andi-AT-firstfloor.org>, Oleg Nesterov <oleg-AT-redhat.com>, Jim Keniston <jkenisto-AT-linux.vnet.ibm.com>, SystemTap <systemtap-AT-sources.redhat.com>, LKML <linux-kernel-AT-vger.kernel.org>, "Paul E. McKenney" <paulmck-AT-linux.vnet.ibm.com> |
| Archive-link: |
| Article, Thread
|
akpm wrote:
> [...] How do you envisage these features actually get used?
Patch #20/20 in the set includes an ftrace-flavoured debugfs frontend.
Previous versions of the patchset included perf front-ends too, which
are probably to be seen again.
> For example, will gdb be modified? Will other debuggers be modified
> or written? [...]
The code is not currently useful to gdb. Perhaps ptrace or an
improved userspace ABI can get access to it in the form of a
breakpoint-management interface, though this inode+offset
style of uprobe addressing would require adaptation to the
process-virtual-address style used by debugging APIs.
- FChE
(
Log in to post comments)