public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/10787] Probe exported functions only
       [not found] <bug-10787-6586@http.sourceware.org/bugzilla/>
@ 2011-12-03 14:27 ` scox at redhat dot com
  2011-12-09 23:15 ` scox at redhat dot com
  1 sibling, 0 replies; 2+ messages in thread
From: scox at redhat dot com @ 2011-12-03 14:27 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug translator/10787] Probe exported functions only
       [not found] <bug-10787-6586@http.sourceware.org/bugzilla/>
  2011-12-03 14:27 ` [Bug translator/10787] Probe exported functions only scox at redhat dot com
@ 2011-12-09 23:15 ` scox at redhat dot com
  1 sibling, 0 replies; 2+ messages in thread
From: scox at redhat dot com @ 2011-12-09 23:15 UTC (permalink / raw)
  To: systemtap

http://sourceware.org/bugzilla/show_bug.cgi?id=10787

Stan Cox <scox at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Stan Cox <scox at redhat dot com> 2011-12-09 23:01:11 UTC ---
commit: 4bda987e1
Adds .exported

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-12-09 23:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10787-6586@http.sourceware.org/bugzilla/>
2011-12-03 14:27 ` [Bug translator/10787] Probe exported functions only scox at redhat dot com
2011-12-09 23:15 ` scox at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).