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/9964] New: Can't find seperate debuginfo file for user space probing


Stap can't retrieve the debuginfo file in searching directory for
user space probing. For example, /lib/libpthread-2.9.so is stripped.

$ sudo stap -vvve 'probe process ("/lib/libpthread-2.9.so").function("*") {}'
SystemTap translator/driver (version 0.9/0.137 commit 907f5e06)
Copyright (C) 2005-2009 Red Hat, Inc. and others
This is free software; see the source for copying conditions.
Session arch: i686 release: 2.6.27.9-159.fc10.i686
Created temporary directory "/tmp/stapqV4t5g"
Searched '/usr/local/share/systemtap/tapset/i686/*.stp', found 2
Searched '/usr/local/share/systemtap/tapset/*.stp', found 46
Pass 1: parsed user script and 48 library script(s) in 580usr/40sys/642real ms.
parsed '*' -> func '*'
focused on module '/lib/libpthread-2.9.so = [0x476000-0x48f1e0, bias 0x0] file
/lib/libpthread-2.9.so ELF machine i?86 (code 3)
focused on module '/lib/libpthread-2.9.so'
WARNING: cannot find module /lib/libpthread-2.9.so debuginfo: No DWARF
information found
semantic error: no match while resolving probe point
process("/lib/libpthread-2.9.so").function("*")
semantic error: no probes found
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 embed(s), 0 global(s) in
0usr/0sys/12real ms.
Pass 2: analysis failed.  Try again with another '--vp 01' option.

But we have the debuginfo file.
$ ll /usr/lib/debug/lib/libpthread-2.9.so.debug 
-rwxr-xr-x 1 root root 502388 2008-11-13 18:23
/usr/lib/debug/lib/libpthread-2.9.so.debug

-- 
           Summary: Can't find seperate debuginfo file  for user space
                    probing
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: wenji dot huang at oracle dot com


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

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