[Bug translator/18075] Add a return-probe variant of .callee

jistone at redhat dot com sourceware-bugzilla@sourceware.org
Mon Jun 8 22:41:00 GMT 2015


https://sourceware.org/bugzilla/show_bug.cgi?id=18075

--- Comment #3 from Josh Stone <jistone at redhat dot com> ---
Why are you matching main though?  That's the second-level caller; version() is
actually called by parse_cmdline(), as seen in the first step of your
backtrace.  That's what I meant by the registers of a return probe already
reflecting the caller's frame.

So process.function("parse_cmdline").callee("version").return would be
translated to process.function("version").return, as you wrote, but with a
_caller_match(1,0,...) in this case.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Systemtap mailing list