This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/10787] Probe exported functions only
- From: "scox at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 02 Dec 2011 22:14:47 +0000
- Subject: [Bug translator/10787] Probe exported functions only
- Auto-submitted: auto-generated
- References: <bug-10787-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=10787
Stan Cox <scox at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |scox at redhat dot com
--- Comment #1 from Stan Cox <scox at redhat dot com> 2011-12-02 22:14:47 UTC ---
The .library qualifier now comes close to providing this:
stap -p2 -c plt.x -e 'probe
process("/plt.x").library("*libc*").function("*").call {printf("%s\n",pp())}'
yields:
process("/lib64/libc-2.14.so").function("_dl_start@../sysdeps/unix/sysv/linux/init-first.c:110").call
process("/lib64/libc-2.14.so").function("_init@../sysdeps/unix/sysv/linux/init-first.c:51").call
...
Just need to add .export to complement .call and .import so one could say:
process("/plt.x").library("*libc*").function("*").export
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.