This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6880] New: more syntax for shared library probing
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 12 Sep 2008 13:59:07 -0000
- Subject: [Bug translator/6880] New: more syntax for shared library probing
- Reply-to: sourceware-bugzilla at sourceware dot org
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.