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/7010] New: *@file.c probes don''t work on some distros


Reports say that probes using source file names don't work on some distros
(Ubuntu and SLES):

On Ubuntu the error message is somewhat cryptic. But on SLES the error suggests
wrong/missing line info:

When its not working it says:
  semantic error: libdw failure (dwarf_getsrcfiles): invalid DWARF
  semantic error: no match while resolving probe point
kernel.function("sock_sendmsg@net/socket.c").call

When working:
  kernel.function("sock_sendmsg@net/socket.c:569")

The above was against systemtap 0.7.1, elfutils 0.137 and kernel 2.6.27.4-2-pae:
$ rpm -qa | grep kernel
 kernel-pae-debuginfo-2.6.27.4-2.1
 kernel-pae-base-2.6.27.4-2.1
 kernel-default-base-2.6.27.4-2.1
 kernel-source-2.6.27.4-2.1
 kernel-pae-2.6.27.4-2.1
 linux-kernel-headers-2.6.27-2.18
 kernel-default-2.6.27.4-2.1

This was discussed on the mailinglist in this thread:
http://sourceware.org/ml/systemtap/2008-q4/msg00188.html

-- 
           Summary: *@file.c probes don''t work on some distros
           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=7010

------- 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]