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

Felix Lu <flu at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |flu at redhat dot com

--- Comment #2 from Felix Lu <flu at redhat dot com> ---
The _caller_match() function can be used to match the return with caller.

Example:
stap -e 'probe process("stap").function("version").return { print_ubacktrace();
 println(_caller_match(1,1,"/opt/codebase/install/bin/stap", ".absolute",
0x40efff)) }'

 0x428d55 : _ZN17systemtap_session13parse_cmdlineEiPKPc+0x9b5/0x5dc0
[/opt/codebase/install/bin/stap]
 0x40efff : main+0x21f/0x1320 [/opt/codebase/install/bin/stap]
 0x7fe8fca69fe0 [/usr/lib64/libc-2.20.so+0x1ffe0/0x3bd000]
1

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