Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754984AbYKOS1P (ORCPT ); Sat, 15 Nov 2008 13:27:15 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751756AbYKOS06 (ORCPT ); Sat, 15 Nov 2008 13:26:58 -0500 Received: from one.firstfloor.org ([213.235.205.2]:44324 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751734AbYKOS06 (ORCPT ); Sat, 15 Nov 2008 13:26:58 -0500 Date: Sat, 15 Nov 2008 19:36:27 +0100 From: Andi Kleen To: Eric Dumazet Cc: Andi Kleen , Mikael Pettersson , Robert Richter , oprofile-list@lists.sf.net, Ingo Molnar , Jiri Kosina , Jiri Benc , Vilem Marsik , Pekka Enberg , linux-kernel@vger.kernel.org, eranian@googlemail.com Subject: Re: Oprofile : need to adjust PC by 16 bytes Message-ID: <20081115183627.GL3810@one.firstfloor.org> References: <20081113212446.GA5694@elte.hu> <20081113213744.GA8429@elte.hu> <491CA0DC.8070405@cosmosbay.com> <491D987F.1000301@cosmosbay.com> <18717.44751.459961.277998@harpo.it.uu.se> <491DB391.2040701@cosmosbay.com> <20081114175056.GK3810@one.firstfloor.org> <491EF942.1090709@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <491EF942.1090709@cosmosbay.com> User-Agent: Mutt/1.4.2.1i Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1309 Lines: 44 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 > > > 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@linux.intel.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/