From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0a-001b2d01.pphosted.com (mx0a-001b2d01.pphosted.com [148.163.156.1]) by sourceware.org (Postfix) with ESMTPS id 0EB693851C1C; Tue, 11 May 2021 08:02:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 0EB693851C1C Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 14B7XeNp096911; Tue, 11 May 2021 04:00:09 -0400 Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 38fj9fn8q4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 May 2021 04:00:09 -0400 Received: from m0098404.ppops.net (m0098404.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 14B7YNFM103269; Tue, 11 May 2021 04:00:08 -0400 Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com with ESMTP id 38fj9fn8jt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 May 2021 04:00:08 -0400 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.16.0.43/8.16.0.43) with SMTP id 14B7qMJU028637; Tue, 11 May 2021 08:00:04 GMT Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by ppma06ams.nl.ibm.com with ESMTP id 38dhwh9hj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 11 May 2021 08:00:04 +0000 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 14B802N619530044 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 May 2021 08:00:02 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2AE8E5204E; Tue, 11 May 2021 08:00:02 +0000 (GMT) Received: from oc3748833570.ibm.com (unknown [9.145.33.102]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 2158152059; Tue, 11 May 2021 08:00:02 +0000 (GMT) Received: by oc3748833570.ibm.com (Postfix, from userid 1000) id 959F2D802F1; Tue, 11 May 2021 10:00:01 +0200 (CEST) Date: Tue, 11 May 2021 10:00:01 +0200 From: Ulrich Weigand To: Luis Machado Cc: fweimer@redhat.com, systemtap@sourceware.org, sergiodj@sergiodj.net, doko@debian.org, libc-alpha@sourceware.org, macro@orcam.me.uk Subject: Re: GDB shared library tracking with stap probes x _dl_debug_state Message-ID: <20210511080001.GA11334@oc3748833570.ibm.com> References: <878s4qb7fj.fsf@oldenburg.str.redhat.com> <07b03137-a083-dada-68da-965779cd41ff@linaro.org> <87bl9mi4xi.fsf@paluero> <87tunda403.fsf@oldenburg.str.redhat.com> <22cab26b-8931-ffc0-5324-bff640773924@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <22cab26b-8931-ffc0-5324-bff640773924@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 X-Proofpoint-GUID: VDdwOTdzWu9b6fBURm-q8hxHaHqyQsxC X-Proofpoint-ORIG-GUID: qPvE_RbarpvVklraYD3fQTV-O1BxrDbx X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.761 definitions=2021-05-11_02:2021-05-10, 2021-05-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 suspectscore=0 malwarescore=0 lowpriorityscore=0 mlxlogscore=711 impostorscore=0 clxscore=1011 bulkscore=0 phishscore=0 spamscore=0 mlxscore=0 adultscore=0 priorityscore=1501 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105110057 X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org 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: Tue, 11 May 2021 08:02:24 -0000 On Mon, May 10, 2021 at 11:16:46AM -0300, Luis Machado wrote: > cc-ing Maciej and Ulrich for feedback about MIPS / rs6000. I see both > architectures rely on marking some symbols as special, for different > purposes. On POWER we use the special symbol marker to identify symbols with a local entrypoint offset. This is to make sure, when setting a breakpoint on the symbol, that we can set it at the local entrypoint instead of the global entrypoint. For stap probes, this is irrelevant, since there we are directly told the address where to set the breakpoint. So there should be no problem for this architecture. Bye, Ulrich -- Dr. Ulrich Weigand GNU/Linux compilers and toolchain Ulrich.Weigand@de.ibm.com