This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug uprobes/10458] uaddr() returns one past current instruction for uprobes
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 29 Jul 2009 23:51:42 -0000
- Subject: [Bug uprobes/10458] uaddr() returns one past current instruction for uprobes
- References: <20090729111010.10458.mjw@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From fche at redhat dot com 2009-07-29 23:51 -------
> > Anybody know how to easily see what probe type we are in from the struct
context?
>
> You could scan CONTEXT->probe_point, as probefunc() does.
Yikes, no, that mess should be fixed separately (perhaps
treated like extra context variables).
> Barring that, it may be useful to add a probe_type enum to CONTEXT that
> categorizes the probe flavors.
Perhaps, but the runtime
How about instead using the emit_probe_local_init() to generate
adjustment code?
--
http://sourceware.org/bugzilla/show_bug.cgi?id=10458
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.