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/10787] Probe exported functions only


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.


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