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 translator/5899] $ptr->member in return probe


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


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