lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140818111656.40ff6ae7@parrot.com>
Date:	Mon, 18 Aug 2014 11:16:56 +0200
From:	Matthieu CASTET <matthieu.castet@...rot.com>
To:	David Ahern <dsahern@...il.com>
CC:	<linux-kernel@...r.kernel.org>
Subject: Re: perf on biarch

Le Fri, 8 Aug 2014 13:50:52 -0600,
David Ahern <dsahern@...il.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ