[Bug translator/10787] Probe exported functions only

scox at redhat dot com sourceware-bugzilla@sourceware.org
Sat Dec 3 14:27:00 GMT 2011


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.



More information about the Systemtap mailing list