Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp4336588imm; Fri, 18 May 2018 03:30:07 -0700 (PDT) X-Google-Smtp-Source: AB8JxZosN/P7Sc0gDDvvX6BCZHR0F8VqrjzBhZxukS8PUGIwvTLNrn7wD2Qs9tjY/C1oRj2hdGdx X-Received: by 2002:a63:6e87:: with SMTP id j129-v6mr6895526pgc.86.1526639407036; Fri, 18 May 2018 03:30:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526639407; cv=none; d=google.com; s=arc-20160816; b=LzuM84ZjXK3XUh6YXaIf0CUiXG1WFSBDMSzfbt6OZ5gAqICmVRTmk8fH2Anemy9eQK vPQ2afSi0uIdMKdeG/XPCaWlYjeaxCkAjXROJflqj4a9JhwC6BUBcZLSzp+AcNElZwQB OiIX0QjKNELifmLKj3LgOd0o1ayIo53r0tYytfP1pNdnTQKLyHdh+yiT4UF2wbWvd/ND yzHVRrhd6ags/MnwlOF1vCYVz3oJ/FlTZ6tG/VNUHQ54AFjJYdIVXxkTUQfmJ8cV5OvQ IOPKoAHTokP2i9sqpwk1p7cMKqX30Iw9GsP6Lz3EPmGEnPWCTpxf54i5Kdtbpww2Mleg U/VQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject:arc-authentication-results; bh=KwqTLZ8nIQkYCtjsidBhm/fTDmDKWKQspnYfyDQFEJM=; b=0yY7CxRrrP5scmV4iqnZJZeq4vlq1dnqmLkm/NW7qvrdT6ulMkJj+TDWmuhYJBdfy2 D62vy+MxnHTKaGnCP8octZJZ07T1hALDhOOUJ4wyNtm3JP3GFuTmsxhUapw4DOICQNk5 970b/g7wWbWRdmn41M3Ai2gUACU06faJNkW4q2HfZ9sAnN1i4s71Jk1HwxdxrLGWBnic moI07BQd0R0KIN/lmtfadj2jJ/H4UahlCfdJhCkiVFN2Ee0/mVWPiat47Jr+BIN2gv18 hzX7aLwxj6w7jnchJSc+TS+JMdqR4KL3RQKi1X1pvo+wZWP9jy6NffIsS1BApdICG5Ee 35hQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m5-v6si5715017pgv.191.2018.05.18.03.29.52; Fri, 18 May 2018 03:30:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752464AbeERK3X (ORCPT + 99 others); Fri, 18 May 2018 06:29:23 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:44772 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752389AbeERK3W (ORCPT ); Fri, 18 May 2018 06:29:22 -0400 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w4IASskk016086 for ; Fri, 18 May 2018 06:29:21 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 2j1v0yb4x7-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 18 May 2018 06:29:21 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 18 May 2018 11:29:19 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 18 May 2018 11:29:17 +0100 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w4IATGJU56164580; Fri, 18 May 2018 10:29:16 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8AA87AE057; Fri, 18 May 2018 11:18:34 +0100 (BST) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id E34FFAE045; Fri, 18 May 2018 11:18:32 +0100 (BST) Received: from [9.79.214.34] (unknown [9.79.214.34]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 18 May 2018 11:18:32 +0100 (BST) Subject: Re: [PATCH] perf tests: Fix regex for record+probe_libc_inet_pton.sh To: Thomas-Mich Richter , acme@kernel.org, jolsa@redhat.com Cc: linux-kernel@vger.kernel.org, ravi.bangoria@linux.ibm.com, naveen.n.rao@linux.vnet.ibm.com, Hendrik Brueckner References: <20180518072417.1498-1-sandipan@linux.vnet.ibm.com> From: Sandipan Das Date: Fri, 18 May 2018 15:59:13 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18051810-0008-0000-0000-000004F7DF04 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18051810-0009-0000-0000-00001E8C5A16 Message-Id: <764aa7ae-dcbe-6311-19fd-3d31b18f1645@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-05-18_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1805180116 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Thomas, On 05/18/2018 03:51 PM, Thomas-Mich Richter wrote: [...] > > This patch fails on s390. I used 4.17.0rc5 + fedora 27 and I get this output: > > > [root@p23lp27 perf]# ./perf test 59 > 59: probe libc's inet_pton & backtrace it with ping : Ok > [root@p23lp27 linux]# cd ~/linux; patch -p1 < ../inet_pton1 > (Stripping trailing CRs from patch; use --binary to disable.) > patching file tools/perf/tests/shell/record+probe_libc_inet_pton.sh > [root@p23lp27 linux]# cd -; > [root@p23lp27 perf]# ./perf test 59 > 59: probe libc's inet_pton & backtrace it with ping : FAILED! > [root@p23lp27 perf]# > > Debugging revealed this line as cause of failure: > > > FAIL: expected backtrace entry 2 "gaih_inet.*\+0x[[:xdigit:]]+[[:space:]]\(/usr/lib64/libc-2.26.so|inlined\)$" got "fdcb1 gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)" > > Here is the output of the trace file > > [root@p23lp27 perf]# perf script > ping 87291 [001] 96936.231618: probe_libc:inet_pton: (3ff96342378) > 142378 __inet_pton (inlined) > fdcb1 gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so) > 100189 __GI_getaddrinfo (inlined) > 398d main (/usr/bin/ping) > 2303d __libc_start_main (/usr/lib64/libc-2.26.so) > 457b [unknown] (/usr/bin/ping) > > [root@p23lp27 perf]# > > Hope this helps > Can you please apply these two patches as well and then re-test? [1] https://lkml.org/lkml/2018/5/17/112 [2] https://lkml.org/lkml/2018/5/17/113 - Sandipan