From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A69A13840C05; Wed, 15 Jul 2020 16:17:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A69A13840C05 From: "fche at redhat dot com" To: systemtap@sourceware.org Subject: [Bug translator/14013] Access to user space thread local variables (errno) Date: Wed, 15 Jul 2020 16:17:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: fche at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: scox at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to 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: Wed, 15 Jul 2020 16:17:36 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D14013 Frank Ch. Eigler changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|systemtap at sourceware dot org |scox at redhat dot = com --- Comment #2 from Frank Ch. Eigler --- stap 4.3+ translate TLS operation dwarf location-expressions into calls to = an as-yet unimplemented tapset function __push_tls_address(). Let's start implementing it, to mirror libthread_db's tls lookup entry points that gdb uses: td_thr_tls_get_addr / td_thr_tlsbase. The tapset function would have to traverse the ld.so data structures (via @cast / maybe a snapshot of glibc's internal version of thread_db.h). See also: https://infinitynotes.org/wiki/Glibc https://akkadia.org/drepper/tls.pdf --=20 You are receiving this mail because: You are the assignee for the bug.=