Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754386Ab0F2R7L (ORCPT ); Tue, 29 Jun 2010 13:59:11 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:51570 "EHLO e23smtp06.au.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751530Ab0F2R7I (ORCPT ); Tue, 29 Jun 2010 13:59:08 -0400 Date: Tue, 29 Jun 2010 23:23:42 +0530 From: Srikar Dronamraju To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Ingo Molnar , Masami Hiramatsu , Mel Gorman , Randy Dunlap , Steven Rostedt , Roland McGrath , "H. Peter Anvin" , Christoph Hellwig , Ananth N Mavinakayanahalli , Oleg Nesterov , Mark Wielaard , Mathieu Desnoyers , LKML , Linus Torvalds , Frederic Weisbecker , Jim Keniston , "Rafael J. Wysocki" , "Frank Ch. Eigler" , Andrew Morton , "Paul E. McKenney" Subject: Re: [PATCHv6 2.6.35-rc3-tip 10/12] perf: Dont adjust symbols on name lookup Message-ID: <20100629175342.GE23231@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20100628055740.6869.77397.sendpatchset@localhost6.localdomain6> <20100628055941.6869.59092.sendpatchset@localhost6.localdomain6> <20100628135038.GA8902@ghostprotocols.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100628135038.GA8902@ghostprotocols.net> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1082 Lines: 29 > > > > perf: Dont adjust symbols on name lookup > > > > Adjusting symbols is not needed if we are searching by name even > > if the symbols correspond to user space objects. > > Infact if we adjust and search symbols by name, we get incorrect > > results. > > I'll review this, but it would be nice to explain why we get incorrect > results, as we may be just fixing a symptom of some other problem. > You are right. I removed this patch and still see no change in behaviour. Earlier without this patch, I saw that perf report would show a wrong function name(around 2.6.34-rc5 and I carried it to 2.6.35-tip). However the number of events recorded would correspond to the probed function. Since I am seeing correct behaviour even without this patch, I will drop this patch in the next posting of the patchset. -- Thanks Srikar -- 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/