This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]