From: Matthieu CASTET <matthieu.castet@parrot.com>
To: David Ahern <dsahern@gmail.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: perf on biarch
Date: Mon, 18 Aug 2014 11:16:56 +0200 [thread overview]
Message-ID: <20140818111656.40ff6ae7@parrot.com> (raw)
In-Reply-To: <53E52A1C.8010504@gmail.com>
Le Fri, 8 Aug 2014 13:50:52 -0600,
David Ahern <dsahern@gmail.com> a écrit :
> On 8/8/14, 10:40 AM, Matthieu CASTET wrote:
> > Hi,
> >
> > I have a 64 bits kernel running with 32 bits binaries.
> > If I run 32 bits perf on this 64 bits kernel 3.14, I got weird result :
> >
> > - perf trace doesn't work [1]
>
> I have patches that fix that:
> git clone https://github.com/dsahern/linux.git
> git checkout perf-full-monty
>
> And if autodetection fails you can manually force it with -M x86.
>
Thanks david.
It is better, but it seems there are problem with argument parsing.
For example for
"mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xf77e2000"
I got :
- 2.847 ( 0.004 ms): mmap2(arg0: 0, arg1: 0, arg2: 4096, arg3: 0, arg4:
3, arg5: 0 ) = -143273984
Note the 4096 position. Running perf trace on a 32 bits kernel give
4096 at arg1.
Matthieu
next prev parent reply other threads:[~2014-08-18 9:16 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-08 16:40 Matthieu CASTET
2014-08-08 19:50 ` David Ahern
2014-08-18 9:16 ` Matthieu CASTET [this message]
2014-08-21 15:10 ` David Ahern
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140818111656.40ff6ae7@parrot.com \
--to=matthieu.castet@parrot.com \
--cc=dsahern@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome