From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22422 invoked by alias); 16 Jun 2016 21:04:34 -0000 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 Received: (qmail 22310 invoked by uid 48); 16 Jun 2016 21:04:21 -0000 From: "fche at redhat dot com" To: systemtap@sourceware.org Subject: [Bug tapsets/20264] Load tapsets from $libdir for multiarch Date: Thu, 16 Jun 2016 21:04:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: tapsets X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2016-q2/txt/msg00248.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D20264 --- Comment #5 from Frank Ch. Eigler --- > Hmm. So the problem is that .stp files need to be loaded before the .so > files are looked at. For user-space probing, would it be possible to > enumerate the libraries in a process' address space, work out the library > paths, append 'systemtap' to all of them, then search for .stp files in > those directories? That could be implementable - though which process? stap -x $PID is apprx. the only way to refer to a single existing process. You might find bug #10485 a more general solution. It relies on placement = of tapset .stp files under a searchably small hierarchy under an existing taps= et/ directory. --=20 You are receiving this mail because: You are the assignee for the bug.