Re: [PATCH] perf test: Skip test 68 for Powerpc

From: Arnaldo Carvalho de Melo
Date: Mon Dec 07 2020 - 11:37:01 EST


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 <kjain@xxxxxxxxxxxxx>
>
> Reviewed-by: Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxx>

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