[Bug translator/20203] New: library search path for process("libFOO.so") probes

fche at redhat dot com sourceware-bugzilla@sourceware.org
Fri Jun 3 17:17:00 GMT 2016


https://sourceware.org/bugzilla/show_bug.cgi?id=20203

            Bug ID: 20203
           Summary: library search path for   process("libFOO.so")
                    probes
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: fche at redhat dot com
  Target Milestone: ---

For cross-distro scripts, it's desirable to be able to probe a shared library
by its SONAME/basename pattern alone rather than its full path.  (On debian vs.
fedora, a different set of /lib /lib64 vs. /lib/i386 /lib/x86_64 rules apply.) 
stap should support an abbreviated reference to process("libFOO.so.*") kind of
the same way it does process("BINARY").  The latter searches $PATH; the former
could search $LD_LIBRARY_PATH as well as some platform-specific search path. 
(It could conceivably expand to both 32- and 64-bit variants of a shared
library.)

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


More information about the Systemtap mailing list