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: <20081115183627.GL3810@one.firstfloor.org>
Date:	Sat, 15 Nov 2008 19:36:27 +0100
From:	Andi Kleen <andi@...stfloor.org>
To:	Eric Dumazet <dada1@...mosbay.com>
Cc:	Andi Kleen <andi@...stfloor.org>,
	Mikael Pettersson <mikpe@...uu.se>,
	Robert Richter <robert.richter@....com>,
	oprofile-list@...ts.sf.net, Ingo Molnar <mingo@...e.hu>,
	Jiri Kosina <jkosina@...e.cz>, Jiri Benc <jbenc@...e.cz>,
	Vilem Marsik <vmarsik@...e.cz>,
	Pekka Enberg <penberg@...helsinki.fi>,
	linux-kernel@...r.kernel.org, eranian@...glemail.com
Subject: Re: Oprofile : need to adjust PC by 16 bytes

On Sat, Nov 15, 2008 at 05:30:58PM +0100, Eric Dumazet wrote:
> Andi Kleen a écrit :
> >>>And no, blindly subtracting 16 from IP is not a fix.
> >>Who mentioned a fix ? I am only giving more fuel to Intel guys so they
> >>hopefully can give us a working oprofile.
> >
> >You would need to implement PEBS support to avoid that problem. But it's a 
> >big
> >task. perfmon2 implements it already.
> >
> 
> Thanks for the information.
> 
> Hum, so I grabbed perfmon2 git tree, installed various tools...
> 
> I am quite new to pfmon and tried :
> 
> # pfmon --system-wide
> sizeof=64 44
> <press ENTER to stop session>
> 
> Then started "tbench 8", and got a kernel panic after 6 seconds.
> 
> 
> I was using oprofile like this
> 
> opcontrol --vmlinux=/path/vmlinux --start
> // doing some benchmarking...
> opreport -l vmlinux | head -n 40
> 
> 
> What would be a working equivalent for perfmon2 based tools ?

Probably getting a perfmon tree that works. I guess Stephane
can help (cc'ed).  Or just deal with imprecise events for now.

-Andi
-- 
ak@...ux.intel.com
--
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