public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/20203] New: library search path for   process("libFOO.so")   probes
@ 2016-06-03 17:17 fche at redhat dot com
  2016-06-16 20:12 ` [Bug translator/20203] " bugzilla at tecnocode dot co.uk
  2016-06-16 20:15 ` bugzilla at tecnocode dot co.uk
  0 siblings, 2 replies; 3+ messages in thread
From: fche at redhat dot com @ 2016-06-03 17:17 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/20203] library search path for   process("libFOO.so")   probes
  2016-06-03 17:17 [Bug translator/20203] New: library search path for process("libFOO.so") probes fche at redhat dot com
@ 2016-06-16 20:12 ` bugzilla at tecnocode dot co.uk
  2016-06-16 20:15 ` bugzilla at tecnocode dot co.uk
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at tecnocode dot co.uk @ 2016-06-16 20:12 UTC (permalink / raw)
  To: systemtap

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

Philip Withnall <bugzilla at tecnocode dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at tecnocode dot co.uk

--- Comment #1 from Philip Withnall <bugzilla at tecnocode dot co.uk> ---
Note: This also means looking at /etc/ld.so.conf and /etc/ld.so.conf.d/*.
Hard-coding the directories per-distro will not work, as they change at runtime
as extra packages (for example, Mesa) are installed.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/20203] library search path for   process("libFOO.so")   probes
  2016-06-03 17:17 [Bug translator/20203] New: library search path for process("libFOO.so") probes fche at redhat dot com
  2016-06-16 20:12 ` [Bug translator/20203] " bugzilla at tecnocode dot co.uk
@ 2016-06-16 20:15 ` bugzilla at tecnocode dot co.uk
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla at tecnocode dot co.uk @ 2016-06-16 20:15 UTC (permalink / raw)
  To: systemtap

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

Philip Withnall <bugzilla at tecnocode dot co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.mcvittie at collabora dot co
                   |                            |.uk

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-16 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-03 17:17 [Bug translator/20203] New: library search path for process("libFOO.so") probes fche at redhat dot com
2016-06-16 20:12 ` [Bug translator/20203] " bugzilla at tecnocode dot co.uk
2016-06-16 20:15 ` bugzilla at tecnocode dot co.uk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).