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/6880] New: more syntax for shared library probing


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.


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