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: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 23 Jan 2009 15:58:47 -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 fche at redhat dot com 2009-01-23 15:58 -------
Daniel suggests that using this sort of facility for timing might be
useful too, where it's not the snapshot value of a $context var
but rather a function evaluated at that time might be desirable for
saving. so ..
probe FOO.return {
println(gettimeofday_ns() - @entry(gettimeofday_ns()))
}
We'd still need @cast() support (bug #6704) to do this sort of thing:
probe FOO.return {
println(@cast(@entry($param),"struct foo")->field))
}
--
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.