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/20203] New: library search path for process("libFOO.so") probes


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.

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