From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32071 invoked by alias); 12 Sep 2008 14:00:21 -0000 Received: (qmail 31575 invoked by uid 48); 12 Sep 2008 13:59:07 -0000 Date: Fri, 12 Sep 2008 14:00:00 -0000 From: "fche at redhat dot com" To: systemtap@sources.redhat.com Message-ID: <20080912135907.6880.fche@redhat.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/6880] New: more syntax for shared library probing X-Bugzilla-Reason: AssignedTo Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org X-SW-Source: 2008-q3/txt/msg00638.txt.bz2 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.