Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4372438pxu; Wed, 9 Dec 2020 15:45:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJzAoRryOJ0d7g5MZGcqzy5R4yqb/EVVE8WFrIKBPZZHtyYvU/E7HC7jsNlhwwaOQLmr7ePt X-Received: by 2002:a17:906:2681:: with SMTP id t1mr4146059ejc.29.1607557548768; Wed, 09 Dec 2020 15:45:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607557548; cv=none; d=google.com; s=arc-20160816; b=guXswVyF+VYiwGXhpC3TgO8JVPlezCb2FQ8HXsV/V2GNoE65vZY55U+rn/uypqzcFd Vd2ZL7alGy2LmzoIBHvg91dImXYgUCr3Y5QvPH2Er6VkRREE9rXYrXSNif/TUD47bJ3m rVG/LLHGR7qd57MlvCSF1l1X4nEN2qY/F0gax+oMbXv/iMn/JzVNM1tXATdHUKciTUC5 8rywiybDyXpAbEIRJVJGdhigQ/DBjYvTi/Aq/qbOPBAKGoouaAyOzzKBs9Vp2tvANTy5 wlYY2YFgcUfLA39JYEoc8qh/FnXhKs6le1o65+NtW1hRve18EmBJ8RsGhFYYZsBrJdOv Dlcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:dkim-signature:date; bh=nxX9EsaIeC9CUFTbu0i6sk0tV5fwUOIP9pcdtpfcf4c=; b=JtwT5vO6a+NkN1k91R/4HC2xnm8T/FziLGjyeG5WgLMa7KeuaIw+rqpZAzVnP82xmz AF1mEn52Pu8CwAAMJCZJlnVA8/dM5HkepHh0n1oT4iGOvOaOAvaU5Wq4mfe0gW0ofJ9E 83xc7eHvXiUmRABUkuXzRoKw4sA7aV5KlPhC6MUYYdVo7iwVuR2w1iCN+RbxCC9K2Phh AJDi67kbwzj5HNf8qJmqOQ7NWUCDXT5YIBPvAB3Tvc4Th3Mbh2iv8Z71n5psayBOJkVu 9n+id05FSX09kQIkgNFZ00O4paYwldixaTKhhs8Er/8Ej8YZ+Z+g/ewRmr+/o3eQdYb4 L44g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hORScaub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w9si1545834ejj.45.2020.12.09.15.45.25; Wed, 09 Dec 2020 15:45:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=hORScaub; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732368AbgLIRiP (ORCPT + 99 others); Wed, 9 Dec 2020 12:38:15 -0500 Received: from mail.kernel.org ([198.145.29.99]:43826 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732321AbgLIRiP (ORCPT ); Wed, 9 Dec 2020 12:38:15 -0500 Date: Wed, 9 Dec 2020 14:37:43 -0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1607535454; bh=lUHJqhuIA3sDRrFDDIRZHT2mURVMt9o5kThEgQGifhk=; h=From:To:Cc:Subject:References:In-Reply-To:From; b=hORScaubAB2Dw3xq5K6JppzZdyguaTZn7xUDqDpIJSbi5cJmWA3vWqKcjZWzqvt5e 32k3295NDqmWYfA1ae5wy92GhcxJzECqyDFxxHCjmCMOZkLtaL7w7DvMnzFhcwuq0R 1pme2FLfpcMZV3T/7EH1L5pxGgdE/WdSCB0hMxzjneZjh4vaMJa6BrQEts8rkRctBO FILFMkpnR9a2lUnNI3V2zTbUItf1llSOvgM2vUk+Zjv2jD8Bcd4Z+FL5SRiCfBW0dH RES3W4kvKM703U48CY+mugesKbeltjhRpKBRdU8Ob+O8VfxS2mDsTVgtANP84zH/PC y7ztU6rqhT3kw== From: Arnaldo Carvalho de Melo To: Thomas Richter Cc: Ravi Bangoria , Kajol Jain , jolsa@redhat.com, namhyung@kernel.org, linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org, irogers@google.com, rbernon@codeweavers.com, maddy@linux.ibm.com, atrajeev@linux.vnet.ibm.com Subject: Re: [PATCH] perf test: Skip test 68 for Powerpc Message-ID: <20201209173743.GB185686@kernel.org> References: <20201104082954.57338-1-tmricht@linux.ibm.com> <20201119135022.36340-1-kjain@linux.ibm.com> <4a2908ca-6b75-c688-ec3b-7f37783f08cc@linux.ibm.com> <20201207163524.GF125383@kernel.org> <763d4593-d581-0971-338c-b811925be45b@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <763d4593-d581-0971-338c-b811925be45b@linux.ibm.com> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Tue, Dec 08, 2020 at 03:43:17PM +0100, Thomas Richter escreveu: > On 12/7/20 5:35 PM, Arnaldo Carvalho de Melo wrote: > > Em Tue, Nov 24, 2020 at 03:04:53PM +0530, Ravi Bangoria escreveu: > >> > >> > >> On 11/19/20 7:20 PM, Kajol Jain wrote: > >>> Commit ed21d6d7c48e6e ("perf tests: Add test for PE binary format support") > >>> adds a WINDOWS EXE file named tests/pe-file.exe, which is > >>> examined by the test case 'PE file support'. As powerpc doesn't support > >>> it, we are skipping this test. > >>> > >>> Result in power9 platform before this patach: > >>> [command]# ./perf test -F 68 > >>> 68: PE file support : Failed! > >>> > >>> Result in power9 platform after this patch: > >>> [command]# ./perf test -F 68 > >>> 68: PE file support : Skip > >>> > >>> Signed-off-by: Kajol Jain > >> > >> Reviewed-by: Ravi Bangoria > > > > But why is it failing? I.e. what is that > > > > perf test -v -F 68 > > > > outputs? > > > > Using 'perf report' on a perf.data file containing samples in such > > binaries, collected on x86 should work on whatever workstation a > > developer uses. > > > > Say, on a MacBook aarch64 one can look at a perf.data file collected on > > a x86_64 system where Wine running a PE binary was present. > > > > - Arnaldo > > > > Hi > > What is the distro you are using? > I observed the same issue on s390 but this was fixed for fedora33 somehow. > The error just went away after a dnf update.... > > [root@m35lp76 perf]# cat /etc/fedora-release > Fedora release 33 (Thirty Three) > [root@m35lp76 perf]# ./perf test -F 68 > 68: PE file support : Ok > [root@m35lp76 perf]# > > > However on my fedora32 machine it still fails: > [root@t35lp46 perf]# cat /etc/fedora-release > Fedora release 32 (Thirty Two) > [root@t35lp46 perf]# ./perf test -F 68 > 68: PE file support : FAILED! > [root@t35lp46 perf]# > > Note that I am running the same kernel on both machines: linux 5.10.0rc7 downloaded > this morning. Fedora 33. What does 'perf test -v -F 68' says? - Arnaldo