Received: by 10.223.176.5 with SMTP id f5csp688308wra; Tue, 6 Feb 2018 05:53:46 -0800 (PST) X-Google-Smtp-Source: AH8x2272v5vODm/JqIndVJSKGzIj7n772FbpgvKxErjpjGS0++QGP1ijUaglLSEpk5JMH3n72hjF X-Received: by 2002:a17:902:8c8b:: with SMTP id t11-v6mr2462325plo.286.1517925226727; Tue, 06 Feb 2018 05:53:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517925226; cv=none; d=google.com; s=arc-20160816; b=WO1g9zTepJKMcn1WOn5fQRoc8vmvAEGFWLDM2Ll/4fCAewy21d7Sxrprx4dpspSwzI CThD8JFRo6X3MKTy/Kj+fder9CQQ0+3ojT5Y5genIFZBNJVv6CpMS7FzwkCK/ZOWxvxe 8yPUPO0eX2a/fTRzE7pBTsc5UBiOcHLoFtOQbxLxlem33ce5Eg+N+4sWlvLy0jwHzoX5 fKVySjQc1+Vso7xYVCzvSpX9XIj0c5Yyym7m0sPBo1Zb9cYnVD7yzTcvDKHBDhQLiW+4 YWoeAXe+ekOAjMugY8cgCTWzMLbmPlckSBoiXITxzwG+Guzc5IZAo/VSFo2BMhJLfCoi 6hqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dmarc-filter:arc-authentication-results; bh=h2T4V6K+SAnXAst7nKoXdpe1MKzt62i0+My6OlUgPj4=; b=GDqWve4JufHdTva+v8lhox7wellEwb/bIKegpH5UBcG4mZaCp65aO671PdM/pq3GnE Ar0FtR4QFf6kbqj4ltS+g99/kwu/KbFM+yqoZK1vo8bdA2N5FAM6l+UygLQceRvguyo5 TRAgUTua1pieEteFfCb8SQTQDBliUAGszXBym2ER7qWuZUnElGBQ7jE7QpZtOxhHMiX1 ObDWaT51v6H66pehCb+ClweA87m1Jex4pjreUTkrbLA1cQvizBdhPBQSOZP5CiE/F9dJ ZVYRMbpEWC82yeMQoN7TKc4o6cUMch6bx/3RQUezmu4KJ+S2DmMnWTQzV0pnyQTN3DZH enMg== 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 r13si1879895pgf.626.2018.02.06.05.53.32; Tue, 06 Feb 2018 05:53:46 -0800 (PST) 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 S1751998AbeBFNvn (ORCPT + 99 others); Tue, 6 Feb 2018 08:51:43 -0500 Received: from mail.kernel.org ([198.145.29.99]:41762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbeBFNvf (ORCPT ); Tue, 6 Feb 2018 08:51:35 -0500 Received: from jouet.infradead.org (unknown [190.15.121.82]) (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 D96EE208FE; Tue, 6 Feb 2018 13:51:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D96EE208FE Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=acme@kernel.org Received: by jouet.infradead.org (Postfix, from userid 1000) id 20C0D1412A6; Tue, 6 Feb 2018 10:51:32 -0300 (-03) Date: Tue, 6 Feb 2018 10:51:31 -0300 From: Arnaldo Carvalho de Melo To: Thomas Richter Cc: linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, brueckner@linux.vnet.ibm.com, schwidefsky@de.ibm.com, heiko.carstens@de.ibm.com Subject: Re: [PATCH] perf test: Fix test trace+probe_libc_inet_pton.sh for s390x Message-ID: <20180206135131.GA3451@kernel.org> References: <20180117083831.101001-1-tmricht@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180117083831.101001-1-tmricht@linux.vnet.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Wed, Jan 17, 2018 at 09:38:31AM +0100, Thomas Richter escreveu: > On Intel test case trace+probe_libc_inet_pton.sh succeeds and the > output is: > [root@f27 perf]# ./perf trace --no-syscalls > -e probe_libc:inet_pton/max-stack=3/ ping -6 -c 1 ::1 > PING ::1(::1) 56 data bytes > 64 bytes from ::1: icmp_seq=1 ttl=64 time=0.037 ms > > --- ::1 ping statistics --- > 1 packets transmitted, 1 received, 0% packet loss, time 0ms > rtt min/avg/max/mdev = 0.037/0.037/0.037/0.000 ms > 0.000 probe_libc:inet_pton:(7fa40ac618a0)) > __GI___inet_pton (/usr/lib64/libc-2.26.so) > getaddrinfo (/usr/lib64/libc-2.26.so) > main (/usr/bin/ping) > > The kernel stack unwinder is used, it is specified implicitly > as call-graph=fp (frame pointer). > > On s390x only dwarf is available for stack unwinding. It is also > done in user space. This requires different parameter setup > and result checking for s390x and Intel. Thanks, looks sane, tested on x86_64, applied. Do you have some other patches outstanding that I should look? I travelled a bit, so trying to catch up on patches submitted. Thanks again, - Arnaldo