Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp192101imm; Mon, 14 May 2018 23:41:39 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpx6WOZPBT62dkbBTvx1uIXp4DcsDjIsE1Qo9b5ils1NwAMwlfu5196UeDPBU/oJPngaCrt X-Received: by 2002:a63:6a08:: with SMTP id f8-v6mr11164182pgc.363.1526366499638; Mon, 14 May 2018 23:41:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526366499; cv=none; d=google.com; s=arc-20160816; b=G/++9njiBOBf97JCs2zSkHG6anuUqdd46e8hoGrF9P439QBwlhOnlZT9GKiEloez4q +H4YSd9M3QkRbKQpmuIkFUdXqPXEUYKYzXWFhfwFeEXdTUAe97maCqlUND+mrswvFOXM TyQcNWdYc7rMCjYw3ogSMqkektda4b2N10O9vRU+Ri33ryldBL5Gk9F3ZLl2JGoIk1eI LAgzrRjx+EeZdtoJLNW1J6hmcKYO8DaM5xzz5at5OPUypI1fmuLJpkQVKsQSy1Tl+zKh qlmSQV8q4oWclAluCmPYGxPryRulo+0IepR+ZrWyS/LHzLFdcO0qRJ5tfxsoWTecGxe1 znkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition :content-transfer-encoding:mime-version:robot-unsubscribe:robot-id :git-commit-id:subject:to:references:in-reply-to:reply-to:cc :message-id:from:date:arc-authentication-results; bh=i4ZzSxiO7j4jz7f/fWxU61MQaCY1RSqA68WH3lTi2kI=; b=sjPkUe34xl5Y6pqTWXo7JnvuegpTeu3uZrmTEwlZqzxKy83wap2nuwnr3SYgtOJ9Ow M6tCLmXFj/bt9EATo2YXXSvf07dvDALyVM8tCgQOZsYGbk1ZI6Fk9WzWFFV4pEwQ9jTB iY9XrOA9DnuQgbqnSJ/avIxQ5+4d7cGpAqBvghsoBJ/MIUVMSP52fqLEHfM4SBdIC+hM 4sGcIV1n3XHliYX23vMBrSLsUkDwHgCWU9dsdinwzZKRiSfRK1ZusPh77OPsRBVygVcQ KD9lr7dvJeSNWapPU/MzD5MyfUJkdQR3LIUHTJ9byY+IXYuBPl765myMyk8T9/GlBzka OnEg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a2-v6si8812607pgq.278.2018.05.14.23.41.24; Mon, 14 May 2018 23:41:39 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752347AbeEOGj5 (ORCPT + 99 others); Tue, 15 May 2018 02:39:57 -0400 Received: from terminus.zytor.com ([198.137.202.136]:40225 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752315AbeEOGj4 (ORCPT ); Tue, 15 May 2018 02:39:56 -0400 Received: from terminus.zytor.com (localhost [127.0.0.1]) by terminus.zytor.com (8.15.2/8.15.2) with ESMTPS id w4F6dii51049525 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 14 May 2018 23:39:44 -0700 Received: (from tipbot@localhost) by terminus.zytor.com (8.15.2/8.15.2/Submit) id w4F6di3T1049520; Mon, 14 May 2018 23:39:44 -0700 Date: Mon, 14 May 2018 23:39:44 -0700 X-Authentication-Warning: terminus.zytor.com: tipbot set sender to tipbot@zytor.com using -f From: tip-bot for Thomas Richter Message-ID: Cc: mingo@kernel.org, schwidefsky@de.ibm.com, tmricht@linux.ibm.com, acme@redhat.com, tglx@linutronix.de, heiko.carstens@de.ibm.com, linux-kernel@vger.kernel.org, hpa@zytor.com, brueckner@linux.vnet.ibm.com Reply-To: brueckner@linux.vnet.ibm.com, hpa@zytor.com, linux-kernel@vger.kernel.org, heiko.carstens@de.ibm.com, tglx@linutronix.de, acme@redhat.com, tmricht@linux.ibm.com, mingo@kernel.org, schwidefsky@de.ibm.com In-Reply-To: <20180503065837.71043-1-tmricht@linux.ibm.com> References: <20180503065837.71043-1-tmricht@linux.ibm.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/urgent] perf test: "probe libc's inet_pton" fails on s390 due to missing inline Git-Commit-ID: f8207b987fdc3768257704579bf29a717b4ea520 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00, T_DATE_IN_FUTURE_96_Q autolearn=ham autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on terminus.zytor.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: f8207b987fdc3768257704579bf29a717b4ea520 Gitweb: https://git.kernel.org/tip/f8207b987fdc3768257704579bf29a717b4ea520 Author: Thomas Richter AuthorDate: Thu, 3 May 2018 08:58:37 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 10 May 2018 15:19:30 -0300 perf test: "probe libc's inet_pton" fails on s390 due to missing inline perf test "probe libc's inet_pton & backtrace it with ping" fails on 4.17.0rc3 on s/390. It turned out that function __inet_pton is reported as inline: [root@s8360047 perf]# ./perf script -i /tmp/perf.data.111 ping 12457 [000] 1584.478959: probe_libc:inet_pton: (3ffb5a347e8) 1347e8 __inet_pton (inlined) f19d7 gaih_inet.constprop.5 (/usr/lib64/libc-2.24.so) f4c3f __GI_getaddrinfo (inlined) 410b main (/usr/bin/ping) Allow __inet_pton listed as inline. Signed-off-by: Thomas Richter Cc: Heiko Carstens Cc: Hendrik Brueckner Cc: Martin Schwidefsky Link: http://lkml.kernel.org/r/20180503065837.71043-1-tmricht@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- tools/perf/tests/shell/record+probe_libc_inet_pton.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/shell/record+probe_libc_inet_pton.sh b/tools/perf/tests/shell/record+probe_libc_inet_pton.sh index 016882dbbc16..ee86473643be 100755 --- a/tools/perf/tests/shell/record+probe_libc_inet_pton.sh +++ b/tools/perf/tests/shell/record+probe_libc_inet_pton.sh @@ -16,7 +16,7 @@ nm -g $libc 2>/dev/null | fgrep -q inet_pton || exit 254 trace_libc_inet_pton_backtrace() { idx=0 expected[0]="ping[][0-9 \.:]+probe_libc:inet_pton: \([[:xdigit:]]+\)" - expected[1]=".*inet_pton[[:space:]]\($libc\)$" + expected[1]=".*inet_pton[[:space:]]\($libc|inlined\)$" case "$(uname -m)" in s390x) eventattr='call-graph=dwarf,max-stack=4'