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/18075] Add a return-probe variant of .callee


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.


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