| Subject | Re: [PATCH v2 2.6.38-rc8-tip 0/20] 0: Inode based uprobes | From | (Frank Ch. Eigler) | Date | Mon, 14 Mar 2011 21:13:25 -0400 |
| |
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
|