This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/5899] $ptr->member in return probe
- From: "jkenisto at us dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 27 Jan 2009 21:40:23 -0000
- Subject: [Bug translator/5899] $ptr->member in return probe
- References: <20080308010658.5899.jkenisto@us.ibm.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From jkenisto at us dot ibm dot com 2009-01-27 21:40 -------
(In reply to comment #5)
> For the timing part atleast, the newer kernels have a mechanism to do similar --
> look at samples/kprobes/kretprobe_example.c as an example.
Yes. #5916 is about exploiting this kretprobes feature. There's also a patch
for uprobes -- #5973 -- to add the same capability. You could use it to cache
any kind or amount of data between call and return.
This provides more efficient communication between call and return, but it
doesn't solve the problem at hand -- namely, the desire to deref pointers at
return time instead at call time.
A fairly simple patch would add a similar capability to
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5899
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.