[Bug uprobes/10458] uaddr() returns one past current instruction for uprobes

fche at redhat dot com sourceware-bugzilla@sourceware.org
Wed Jul 29 23:51:00 GMT 2009


------- 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.



More information about the Systemtap mailing list