This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/18075] Add a return-probe variant of .callee
- From: "flu at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Mon, 08 Jun 2015 20:56:02 +0000
- Subject: [Bug translator/18075] Add a return-probe variant of .callee
- Auto-submitted: auto-generated
- References: <bug-18075-6586 at http dot sourceware dot org/bugzilla/>
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.