public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/6880] New: more syntax for shared library probing
@ 2008-09-12 14:00 fche at redhat dot com
  2008-12-11 16:59 ` [Bug translator/6880] " fche at redhat dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: fche at redhat dot com @ 2008-09-12 14:00 UTC (permalink / raw)
  To: systemtap

While the current uprobes syntax can support shared libraries
  probe process("/lib/.....so").... { }
it may be helpful to add some more syntax:

This would resolve the exact library file via heuristics like ldd,
and constrain the uprobes to only named processes.
  probe process("ls").library("libc").function/statement(...) { }

This would search LD_LIBRARY_PATH / /etc/ld.so.conf* for the library
instead of $PATH as for an executable.  Though perhaps we could do
this automatically if the process file name matches "lib*".  Such a
probe could expand to multiple libraries (/lib64 and /lib variants
for example).
  probe library("libc").function/statement(...) { }

-- 
           Summary: more syntax for shared library probing
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: fche at redhat dot com


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

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

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

end of thread, other threads:[~2009-11-17 16:39 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-12 14:00 [Bug translator/6880] New: more syntax for shared library probing fche at redhat dot com
2008-12-11 16:59 ` [Bug translator/6880] " fche at redhat dot com
2009-04-22 18:44 ` mjw at redhat dot com
2009-04-22 18:47 ` fche at redhat dot com
2009-05-06  9:51 ` mjw at redhat dot com
2009-05-06 19:30 ` jistone at redhat dot com
2009-05-20 20:30 ` cap at nsc dot liu dot se
2009-06-11 11:28 ` srikar at linux dot vnet dot ibm dot com
2009-10-29 23:50 ` jistone at redhat dot com
2009-11-17 16:39 ` scox at redhat dot com

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).