Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752892AbYKNPty (ORCPT ); Fri, 14 Nov 2008 10:49:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751345AbYKNPtp (ORCPT ); Fri, 14 Nov 2008 10:49:45 -0500 Received: from one.firstfloor.org ([213.235.205.2]:37903 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751333AbYKNPto (ORCPT ); Fri, 14 Nov 2008 10:49:44 -0500 Date: Fri, 14 Nov 2008 16:59:04 +0100 From: Andi Kleen To: Eric Dumazet Cc: Andi Kleen , Robert Richter , oprofile-list@lists.sf.net, Ingo Molnar , Jiri Kosina , Jiri Benc , Vilem Marsik , Pekka Enberg , linux-kernel@vger.kernel.org Subject: Re: Oprofile : need to adjust PC by 16 bytes Message-ID: <20081114155904.GJ3810@one.firstfloor.org> References: <20081113212446.GA5694@elte.hu> <20081113213744.GA8429@elte.hu> <491CA0DC.8070405@cosmosbay.com> <491D987F.1000301@cosmosbay.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <491D987F.1000301@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: 526 Lines: 14 On Fri, Nov 14, 2008 at 04:25:51PM +0100, Eric Dumazet wrote: > Very strange results on my Intel E5450 CPU > > I found that I have to bias regs->ip by 16 bytes in order to have > correct profiling. Can you expand a bit how you determined if the profile is right or wrong? -Andi -- 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/