Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp793477rwb; Wed, 14 Dec 2022 02:54:21 -0800 (PST) X-Google-Smtp-Source: AA0mqf63wr2bR8LBMyENZ+mzeRft0FWbmL6x/GjovqgNeWAjhKh45ZoLuBUD/01C5mzLXoJPsCeL X-Received: by 2002:a17:902:bf06:b0:188:758f:f472 with SMTP id bi6-20020a170902bf0600b00188758ff472mr24376794plb.0.1671015261755; Wed, 14 Dec 2022 02:54:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671015261; cv=none; d=google.com; s=arc-20160816; b=wwDxgepJHWeYg5yQSf47SyN1dry+/N3/yieNdAeu6uGh4t+UJVRMoyT0Ok+dvckm0R xvbbxVaPRbV+9c5xWMGDGS7uCcGgslCSLrr9it7wrh+hVAwvAmjroT7cB1DsASYGphyV 98hDqDklgkmbJxilrEOEOrgeBZznPANj33u8PA4k4a8Mu2raMALHY73dj8rrYdWtL8ZN Vab1P+oIWL9H3V1gXZtz+gpBm3Ug+8fEGXZvfyGAhW6B48ulwwgfz7dL6u5k+ChOcClN QVHaXxAyF7pJrCiTk9r5D50g7fqMUpRz6nJaSKN+EtiQdoEqpKLMchNaRsbPsMCRcSrt 3m8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:content-language:references:cc:to:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=rmj01O8aWT7Pquub7N1Da9OFDIr52FoA27MQJjM3mek=; b=JHkT95JjsG4PlTC7oUq3fWkLo17MIjOCJCcAFxikr7mXBeQVM2CJEelqUBZ/WGU2K2 uMvurOASmy+X3nqcYyqJB0GkzxeEVEbGoT40dH7bxS4xPqjCF99Z+rO37GK4P1fuk83N PGAOxXxPbeiIECDUWASq3RuowXne7bThHYHgaqnX/KuXg1+X5hKvdAVsM6zbEs+OFyLF CQ02chn9daeuprOEeJneVNGuzGNdXhwV/fEITjKm92+BUeEF29TuNlRSwWPF/fJj8SND rIzGiFs+KKIlK/nZuHppgi5RGJEhuKAqjbmiMqIGvJlS3aE6NRAs6ZH7KztCfLzT97I/ TUdw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=FRxQnbYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j8-20020a170903024800b001890fdf32c1si2319514plh.180.2022.12.14.02.54.12; Wed, 14 Dec 2022 02:54:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=FRxQnbYX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238024AbiLNKk4 (ORCPT + 70 others); Wed, 14 Dec 2022 05:40:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51716 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237643AbiLNKkr (ORCPT ); Wed, 14 Dec 2022 05:40:47 -0500 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3189823167; Wed, 14 Dec 2022 02:40:47 -0800 (PST) Received: from pps.filterd (m0127361.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 2BEA9ouf026381; Wed, 14 Dec 2022 10:40:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=rmj01O8aWT7Pquub7N1Da9OFDIr52FoA27MQJjM3mek=; b=FRxQnbYXsbHLr9dCBHW7xe4wGNGA+DuW0ogijblnicpu7AKY2QutftUicFnooPG+BAox m0r05AaMHZl6v5MYODEqBODbjMtHQKX1LXSp9oTlWF0S3/yDXD+Cr5O5T2wq2/M0iI5m eOOveQcqBKPhfRiOvduHWDzIGRd6/MLXONCxqdZmsUbBS8ovGxB+QrHSIonUCcmnvkom ac4xKBubR+DbCgxYS6MRZMGn9E/u4swzlWvx3sXGrag8+0DRHzuDW4I4suERHXFyK6kG q79sQY6hh5MznZtIQ92+TcOYAorK1ghBhX9BNbDZ1/AgKcm+4p1/e79f5JKKHiA/NjPK sg== Received: from ppma06ams.nl.ibm.com (66.31.33a9.ip4.static.sl-reverse.com [169.51.49.102]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3mfc6vh2av-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Dec 2022 10:40:38 +0000 Received: from pps.filterd (ppma06ams.nl.ibm.com [127.0.0.1]) by ppma06ams.nl.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 2BEA5c46023755; Wed, 14 Dec 2022 10:40:36 GMT Received: from smtprelay05.fra02v.mail.ibm.com ([9.218.2.225]) by ppma06ams.nl.ibm.com (PPS) with ESMTPS id 3meypygxjb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 14 Dec 2022 10:40:36 +0000 Received: from smtpav03.fra02v.mail.ibm.com (smtpav03.fra02v.mail.ibm.com [10.20.54.102]) by smtprelay05.fra02v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 2BEAeWAq46137656 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Dec 2022 10:40:32 GMT Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B7FEA20040; Wed, 14 Dec 2022 10:40:32 +0000 (GMT) Received: from smtpav03.fra02v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8388E2004B; Wed, 14 Dec 2022 10:40:32 +0000 (GMT) Received: from [9.152.212.244] (unknown [9.152.212.244]) by smtpav03.fra02v.mail.ibm.com (Postfix) with ESMTP; Wed, 14 Dec 2022 10:40:32 +0000 (GMT) Message-ID: Date: Wed, 14 Dec 2022 11:40:32 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: [PATCH 2/2] perf/test: Fix perf test 89 on x86 To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, hca@linux.ibm.com, gor@linux.ibm.com, sumanthk@linux.ibm.com, svens@linux.ibm.com References: <20221213105729.1447368-1-tmricht@linux.ibm.com> <20221213105729.1447368-2-tmricht@linux.ibm.com> Content-Language: en-US From: Thomas Richter Organization: IBM In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: r5Oda6Ph7KcVf90S7ur8gGOowfJsZBgB X-Proofpoint-ORIG-GUID: r5Oda6Ph7KcVf90S7ur8gGOowfJsZBgB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-12-14_04,2022-12-14_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 lowpriorityscore=0 impostorscore=0 adultscore=0 malwarescore=0 bulkscore=0 mlxscore=0 clxscore=1015 spamscore=0 phishscore=0 suspectscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2212140080 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12/13/22 15:46, Arnaldo Carvalho de Melo wrote: > Em Tue, Dec 13, 2022 at 11:57:29AM +0100, Thomas Richter escreveu: >> perf test '89: probe libc's inet_pton & backtrace it with ping' >> fails on x86. Debugging revealed a changed stack trace for the >> ping command using probes: >> >> ping 35729 [002] 8006.365063: probe_libc:inet_pton: (3ff9603e7c0) >> 12be50 __GI___inet_pton+0x0 (/usr/lib64/libc.so.6) >> 4fca main+0x139b (/usr/bin/ping) >> >> The line getaddrinfo.... in the call stack is gone. >> It was introduced with glibc version 2.36.8 released >> with Fedora 37. >> >> Output before on x86 >> # ./perf test 89 >> 89: probe libc's inet_pton & backtrace it with ping : FAILED! >> # >> >> Output after on x86: >> # ./perf test 89 >> 89: probe libc's inet_pton & backtrace it with ping : Ok >> # > > Not having at the current state of that script, that $expected may be a > subset of the actual backtrace, i.e. will this continue working with > the systems where that getaddrinfo line appear? > > - Arnaldo > No, that is not the case. Taking this into account requires a larger rework of the call stack checking. Not just simple line by line matching which is done now. It also raises the question of how far to go back in glibc history. Different versions of glibc have different call stacks. I will rethink this... -- Thomas Richter, Dept 3303, IBM s390 Linux Development, Boeblingen, Germany -- Vorsitzender des Aufsichtsrats: Gregor Pillen Geschäftsführung: David Faller Sitz der Gesellschaft: Böblingen / Registergericht: Amtsgericht Stuttgart, HRB 243294