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


As can be seen in the first few syscalls captured through:

$ 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'
/dev/null
ls:ld-2.12.so@0x33dc21622a 0x00000033dc21622a (24470:24470)
ls:ld-2.12.so@0x33dc21702a 0x00000033dc21702a (24470:24470)
ls:ld-2.12.so@0x33dc216ee7 0x00000033dc216ee7 (24470:24470)
ls:ld-2.12.so@0x33dc216e27 0x00000033dc216e27 (24470:24470)
[...]
ls:libpthread-2.12.so@0x33dd205712 __pthread_initialize_minimal (24594:24594)
ls:libpthread-2.12.so@0x33dd20577c __pthread_initialize_minimal (24594:24594)
ls:libpthread-2.12.so@0x33dd20579e __pthread_initialize_minimal (24594:24594)
ls:libpthread-2.12.so@0x33dd2057ee __pthread_initialize_minimal (24594:24594)
ls:libpthread-2.12.so@0x33dd20f55e __libc_sigaction (24594:24594)
ls:libpthread-2.12.so@0x33dd20f55e __libc_sigaction (24594:24594)
ls:libpthread-2.12.so@0x33dd2058d5 __pthread_initialize_minimal (24594:24594)
ls:libc-2.12.so@0x33dc6d8f57 getrlimit64 (24594:24594)
ls:libc-2.12.so@0x33dc6d3cc7 statfs (24594:24594)
ls:libc-2.12.so@0x33dc6d948a brk (24594:24594)
ls:libc-2.12.so@0x33dc6d948a brk (24594:24594)
ls:libc-2.12.so@0x33dc6d3fb0 __open_nocancel (24594:24594)
ls:libc-2.12.so@0x33dc6d3b24 __fxstat (24594:24594)
ls:libc-2.12.so@0x33dc6ddf9a mmap64 (24594:24594)
ls:libc-2.12.so@0x33dc62a59c _nl_load_locale_from_archive (24594:24594)
ls:libc-2.12.so@0x33dc6d8c77 tcgetattr (24594:24594)
ls:libc-2.12.so@0x33dc6d95b7 ioctl (24594:24594)
ls:libc-2.12.so@0x33dc6d3ad5 __xstat64 (24594:24594)
ls:libc-2.12.so@0x33dc6d3b75 __lxstat64 (24594:24594)
ls:libc-2.12.so@0x33dc6d3b24 __fxstat (24594:24594)
ls:libc-2.12.so@0x33dc6ddf9a mmap64 (24594:24594)
ls:libc-2.12.so@0x33dc6d4200 __write_nocancel (24594:24594)
ls:libc-2.12.so@0x33dc6d4140 __close_nocancel (24594:24594)
ls:libc-2.12.so@0x33dc6ddfc7 munmap (24594:24594)
ls:libc-2.12.so@0x33dc6d4140 __close_nocancel (24594:24594)
ls:libc-2.12.so@0x33dc6a6e28 _exit (24594:24594)

$ $ ldd /bin/ls
	linux-vdso.so.1 =>  (0x00007fff75783000)
	libselinux.so.1 => /lib64/libselinux.so.1 (0x00000033dde00000)
	librt.so.1 => /lib64/librt.so.1 (0x00000033dda00000)
	libcap.so.2 => /lib64/libcap.so.2 (0x00000034c0e00000)
	libacl.so.1 => /lib64/libacl.so.1 (0x00000034c0200000)
	libc.so.6 => /lib64/libc.so.6 (0x00000033dc600000)
	libdl.so.2 => /lib64/libdl.so.2 (0x00000033dce00000)
	/lib64/ld-linux-x86-64.so.2 (0x00000033dc200000)
	libpthread.so.0 => /lib64/libpthread.so.0 (0x00000033dd200000)
	libattr.so.1 => /lib64/libattr.so.1 (0x00000034bfe00000)

$ ls -lah /lib64/ld-linux-x86-64.so.2
lrwxrwxrwx. 1 root root 10 Jun  2 14:33 /lib64/ld-linux-x86-64.so.2 -> ld-2.12.so

-- 
           Summary: stap -d /bin/prog --ldd doesn't pick up ld.so
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: mjw at redhat dot com


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]