Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2280748imm; Mon, 28 May 2018 05:18:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpidHwmXQIPbjnIqYtlx4lJuVQaHdCdsu43TOzNDFXOkxaJ/0V30otPNqkyccI+CYezxW6n X-Received: by 2002:a63:6e8b:: with SMTP id j133-v6mr10277541pgc.91.1527509921367; Mon, 28 May 2018 05:18:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527509921; cv=none; d=google.com; s=arc-20160816; b=nBmbVYiy0zE+1dqwMnIO9dzuRN5m22k2B8hJr5l61HLLjwmeijbHxNWUDCwRjiuVvl rwGKeIg4xXNWTZFgETqfV/7qwWtfMB5E4Di9mW3tn7Lni0qEOJG3ZupOdZxoiNR0Yfte Le+b9ZeO9sMNvvyooXYTLwOSVOx6i+JCWB4HO2qeHNFdGI7ZIlIM5uZZtPsLVmNdytFS qTmbxd8Y00lWP0Dg/FFDb9f1isB+A2DMNOoa+QMI0WdbJStw5ywJXqCv5gUXm8Nfp7JV lI6LJSKAHSjgEJSyhLngPPxqDSfyKD1wOm38uIJkIYLmY9sSgUczZPNFmiF6uCN97F4F uovw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=JQ4b30i9whybipI28drEruO62hYn6V3zq7aPvs9KOBY=; b=u9cXQmR3HpRq76Lh/n+nSBARMCVkdnsFhcKJb5X1Oaa20yL0WGFtdvUBqg8uwqGjFM PebPx9hSn/M4qe+ij6zKwAx83vz0L0ZSOR6RfssSfoRS6b+6AIbtUXCVkzMoPGdcLW1+ evTPCb7mnFFXD/lo91XX7wdaeFudIFxqKvQEaMDWxyv6YkR34+ClRPvY8YBfRs86xyFv uFMU4FYjyCLa8yDnY3tpE/vKGaiukdZ2hgGakZqmyIPMSZlzmiWG4reDNvnGQnKbpny8 7Pibo1+zZjTGHNtiMVuhv7n6ZZ9Ar1BtyDz+awnWkrZkGSw5RgFi1xgcujMkeTRZu2pe IrKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=maDJ4ViT; 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 o16-v6si1525087pgv.240.2018.05.28.05.18.26; Mon, 28 May 2018 05:18:41 -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; dkim=pass header.i=@kernel.org header.s=default header.b=maDJ4ViT; 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 S1423164AbeE1MRt (ORCPT + 99 others); Mon, 28 May 2018 08:17:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:50320 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422872AbeE1LDE (ORCPT ); Mon, 28 May 2018 07:03:04 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 09C8220883; Mon, 28 May 2018 11:03:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527505383; bh=EqHBcNZNsq/m6o/HfjxwY3Rx9DlNSxnvIQy3ioeFH2o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=maDJ4ViTwkgPoHYiEKaJspcvl3Bojm3cE1RUBDK2iJ3XOcdj+hD/eM9+5yth5cFdF 0RROzRYlHHN2ewKjN3zQ+WHDaX5qzweltsFIhK6Jmy3kevVFTvZoLbckddAchngdYp uogY5XHGKRm61527TqM/9mVwJ5LJ8YcetDlmyi3c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Thomas Richter , Heiko Carstens , Hendrik Brueckner , Martin Schwidefsky , Arnaldo Carvalho de Melo , Sasha Levin Subject: [PATCH 4.14 478/496] perf test: Fix test case inet_pton to accept inlines. Date: Mon, 28 May 2018 12:04:23 +0200 Message-Id: <20180528100340.040438373@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180528100319.498712256@linuxfoundation.org> References: <20180528100319.498712256@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Thomas Richter [ Upstream commit 0f19a038afdc592176c9a302f0d08be6a68ad74a ] Using Fedora 27 and latest Linux kernel the test case trace+probe_libc_inet_pton.sh fails again on s390. This time is the inlining of functions which does not match. After an update of the glibc (from 2.26-16 to 2.26-24) the output is different The expected output is: __inet_pton (/usr/lib64/libc-2.26.so) gaih_inet (inlined) .... The actual output is: 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.061/0.061/0.061/0.000 ms 0.000 probe_libc:inet_pton:(3ffb2140448)) __inet_pton (inlined) gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so) ... Fix this by being less strict on 'inlined' verses library name and accept both Signed-off-by: Thomas Richter Cc: Heiko Carstens Cc: Hendrik Brueckner Cc: Martin Schwidefsky Link: http://lkml.kernel.org/r/20180214070303.55757-1-tmricht@linux.vnet.ibm.com Signed-off-by: Arnaldo Carvalho de Melo Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- tools/perf/tests/shell/trace+probe_libc_inet_pton.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) --- a/tools/perf/tests/shell/trace+probe_libc_inet_pton.sh +++ b/tools/perf/tests/shell/trace+probe_libc_inet_pton.sh @@ -21,12 +21,12 @@ trace_libc_inet_pton_backtrace() { expected[3]=".*packets transmitted.*" expected[4]="rtt min.*" expected[5]="[0-9]+\.[0-9]+[[:space:]]+probe_libc:inet_pton:\([[:xdigit:]]+\)" - expected[6]=".*inet_pton[[:space:]]\($libc\)$" + expected[6]=".*inet_pton[[:space:]]\($libc|inlined\)$" case "$(uname -m)" in s390x) eventattr='call-graph=dwarf' - expected[7]="gaih_inet[[:space:]]\(inlined\)$" - expected[8]="__GI_getaddrinfo[[:space:]]\(inlined\)$" + expected[7]="gaih_inet.*[[:space:]]\($libc|inlined\)$" + expected[8]="__GI_getaddrinfo[[:space:]]\($libc|inlined\)$" expected[9]="main[[:space:]]\(.*/bin/ping.*\)$" expected[10]="__libc_start_main[[:space:]]\($libc\)$" expected[11]="_start[[:space:]]\(.*/bin/ping.*\)$"