Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2232000imm; Mon, 28 May 2018 04:25:35 -0700 (PDT) X-Google-Smtp-Source: AB8JxZozvn0br3+W8dWI/ACJ1JK+DHA22xscn2Qe2v++76WIvviNnP09hOI9cdjm6mYloEDvG1/L X-Received: by 2002:a65:644a:: with SMTP id s10-v6mr10244278pgv.360.1527506735730; Mon, 28 May 2018 04:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527506735; cv=none; d=google.com; s=arc-20160816; b=iM2+Df7sKPGa65orUGuOAOaKB3dl5SK/pvIvi+GHByOLNOyQYZcQ3BuD4pdml4C0TH VZdESx1IgMFLdiIQbBP1jMQUs44lhLIi1M8zZf0Tn63Y6ZlDintrviUiNPICtHvUDOQP TRYOhe74cx554/aikDitV7qNWmJow9j23mAC/Aunvwj3CRUj3BDgq5kERRCgBHiCZuQS xZkkzWvkBtSogmMAPL3F8FOeTai6EEBLKcR8u9yR7SzRXrZeTV+dAPiTV5c82PKKtTlN cp6GxtOclDnGGSkZMYPdEayFwA0ytxSi2D+HS1STzMfYMBqy4DW9vRxUs4H67Lq7ARQd K3+g== 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=6CElyLW5V/29v5cvpvtwoL9QCsKQq0TmvYe8hHtMP9E=; b=zZZOrRNwsD7tW4l/0dmz4Geai/NmVRKiUzOCrOVlInc41L1S5hAYKuuji0gU2IPt6Q vULTxK1CTzrirqay08xCJZXimazmaHaTlTNM79/s3nZgKwHTH9q5OYhzhaq+bSjgdImh fmiIwpmVUP9e5vLfZPAkc1OtFDY52Gn5FOcu22wMOOhghsnFKy1VJo+L3dfrFN3qId7J SYBKmJs3xGwx+tqZJivvEQ6DQg5f65+Mpd/VkTWa1taw2hY1SjekBlmKoXzfaQd8Z21C 4G1FIdr07umRhGl5FUIuBBaZlgnK8jmGZgEIRnd4OFmp4x/XfEKwc6t2/N+/smlDCvta u5Vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=yFHU3jOU; 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 b9-v6si23423769pgu.27.2018.05.28.04.25.20; Mon, 28 May 2018 04:25:35 -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=yFHU3jOU; 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 S1424567AbeE1LPa (ORCPT + 99 others); Mon, 28 May 2018 07:15:30 -0400 Received: from mail.kernel.org ([198.145.29.99]:34532 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424556AbeE1LP1 (ORCPT ); Mon, 28 May 2018 07:15:27 -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 41E8C208A2; Mon, 28 May 2018 11:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527506126; bh=iFe/HFF3x+EyXA4A2Mk6fdEx++93PShIJMcgLJ3V1S0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=yFHU3jOU/Dh688TvnkU9ySjHHbnLOb6xjS0e/jw7SaV62QERCFpLUYF4D1yGwKTFA oFrNPvkrsoSM+I4lFjkWzRYh60aPOy9FpL5LoOTxeqUF51C7iaEVpuiUZStaAlSKpI yRtw8/BymGh2mYq2uVpAesU+y6L2dk1I+J2zYRVw= 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.16 250/272] perf test: Fix test case inet_pton to accept inlines. Date: Mon, 28 May 2018 12:04:43 +0200 Message-Id: <20180528100301.275246330@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180528100240.256525891@linuxfoundation.org> References: <20180528100240.256525891@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.16-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.*\)$"