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

Frank Ch. Eigler fche@redhat.com
Tue Mar 15 01:13:00 GMT 2011


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



More information about the Systemtap mailing list