From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id EFA0939730F5; Thu, 10 Jun 2021 14:45:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EFA0939730F5 From: "fche at redhat dot com" To: systemtap@sourceware.org Subject: [Bug uprobes/27975] could systemtap probe user process running in docker(overlay2 fs)? Date: Thu, 10 Jun 2021 14:45:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: uprobes 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: everconfirmed cf_reconfirmed_on bug_status cc 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-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jun 2021 14:45:36 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27975 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Last reconfirmed| |2021-06-10 Status|UNCONFIRMED |WAITING CC| |fche at redhat dot com --- Comment #1 from Frank Ch. Eigler --- Consider trying the probe-by-buildid mechanism added recently: probe process("deadbeefdeadbeef").FOO { } instead of probe process("/path/to/binary").FOO { } ... where deadbeef is simply the hexadecimal buildid for the target binary,= as printed by "file" or "readelf -n". Your RHEL7 version of stap is much too old for that, but maybe you can get = hold of RH DTS builds, or build your own from upstream sources / RPMs, this shou= ld work. Otherwise, yeah, path name based matching is known to be difficult when the= re are many names for the same binary, and from different containers' points of view. --=20 You are receiving this mail because: You are the assignee for the bug.=