User: Password:
Subscribe / Log in / New account

Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes

From: (Frank Ch. Eigler)
To:  Andrew Morton <>
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 <>,,, 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" <>
Archive-link:  Article

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)

Copyright © 2011, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds