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/11678] stap -d /bin/prog --ldd doesn't pick up ld.so


------- Additional Comments From mjw at redhat dot com  2010-06-08 11:48 -------
commit 478fda5943f78c3bcb0e58389383930430f185e6
Author: Mark Wielaard <mjw@redhat.com>
Date:   Tue Jun 8 13:32:21 2010 +0200

    PR11678 Pick up ld.so (and other absolute shlibs) through stap --ldd.
    
    * translate.cxx (add_unwindsym_ldd): Make scan slightly stricter, require
      shlib to start as absolute path and address to be hex. Also allow direct
      absolute shlib paths without soname.

$ stap -d /bin/ls --ldd -e 'probe process.syscall {
  printf("%s:%s@0x%x %s (%d:%d)\n",
         execname(), umodname(uaddr()), uaddr(), usymname(uaddr()),
         pid(), tid()); }' -c '/bin/ls /dev/null'
ls:ld-2.12.so@0x33dc21622a brk (19055:19055)
ls:ld-2.12.so@0x33dc21702a mmap64 (19055:19055)
ls:ld-2.12.so@0x33dc216ee7 __access (19055:19055)
ls:ld-2.12.so@0x33dc216e27 __open64 (19055:19055)
ls:ld-2.12.so@0x33dc216df4 __fxstat (19055:19055)
ls:ld-2.12.so@0x33dc21702a mmap64 (19055:19055)
ls:ld-2.12.so@0x33dc216e57 close (19055:19055)
ls:ld-2.12.so@0x33dc216e27 __open64 (19055:19055)
[...]

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


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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


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