Re: [PATCH 0/7] uretprobes: return probes implementation

From: Anton Arapov
Date: Sat Mar 23 2013 - 02:45:15 EST

On Fri, Mar 22, 2013 at 02:40:42PM -0700, Josh Stone wrote:
> On 03/22/2013 08:10 AM, Oleg Nesterov wrote:
> > This looks simple, but probably we need to add the additional "ulong bp_vaddr"
> > argument for rp_handler().
> FWIW, in SystemTap we don't currently do anything that would need
> bp_vaddr. The uprobe_consumer already gives the context, so I'm not
> sure what else you would do with the *entry* address of the function
> that just returned. Perhaps you could emulate an additional top line on
> a stacktrace, but it doesn't tell you where in the function you were.

IIUC, Oleg have stressed that perf and trace events requires
additional code to leverage the return probes. IOW this patchset
implements core only and to use it we need to teach the perf about
And I don't see why we would need additional parameter for
rp_handler() as well.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at