Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754228Ab0DZTAe (ORCPT ); Mon, 26 Apr 2010 15:00:34 -0400 Received: from mx1.redhat.com ([209.132.183.28]:13463 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752228Ab0DZTAc (ORCPT ); Mon, 26 Apr 2010 15:00:32 -0400 Message-ID: <4BD5E298.4020506@redhat.com> Date: Mon, 26 Apr 2010 14:59:36 -0400 From: Masami Hiramatsu User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc11 Thunderbird/3.0.4 MIME-Version: 1.0 To: Arnaldo Carvalho de Melo CC: Ingo Molnar , lkml , Paul Mackerras , Peter Zijlstra , Mike Galbraith , Frederic Weisbecker , systemtap , DLE Subject: Re: [PATCH -tip 2/4] perf probe: Fix to use symtab only if no debuginfo References: <20100421195616.24664.89980.stgit@localhost6.localdomain6> <20100421195624.24664.46214.stgit@localhost6.localdomain6> <20100426124815.GD7460@ghostprotocols.net> In-Reply-To: <20100426124815.GD7460@ghostprotocols.net> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 912 Lines: 24 Arnaldo Carvalho de Melo wrote: > Em Wed, Apr 21, 2010 at 03:56:24PM -0400, Masami Hiramatsu escreveu: >> Fix perf probe to use symtab only if there is no debuginfo, >> because debuginfo has more precise information than symtab. > > "more precise"? Wouldn't it be "more expressive", i.e. with more > information (parameter list with types, return type, location of > parameters, etc), because what is common to both have the same value, > i.e. the function address and size. Indeed. debuginfo has just more information than symtab, but symtab certainly provides precise information for symbol-address. Thank you, -- Masami Hiramatsu e-mail: mhiramat@redhat.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/