From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753454AbdKNIOE (ORCPT ); Tue, 14 Nov 2017 03:14:04 -0500 Received: from mga02.intel.com ([134.134.136.20]:62821 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752516AbdKNINn (ORCPT ); Tue, 14 Nov 2017 03:13:43 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,393,1505804400"; d="scan'208";a="2025964" Date: Tue, 14 Nov 2017 16:13:36 +0800 From: Fengguang Wu To: Andi Kleen Cc: Linus Torvalds , Jeff Kirsher , Network Development , "David S. Miller" , Linux Kernel Mailing List , intel-wired-lan@lists.osuosl.org, Michal Marek , Sam Ravnborg , Dirk Gouders , linux-kbuild@vger.kernel.org, "Zhang, Rui" , "Lu, Aaron" , "H.J. Lu" Subject: Re: CONFIG_DEBUG_INFO_SPLIT impacts on faddr2line Message-ID: <20171114081336.e32bqhcu3eu4yl23@wfg-t540p.sh.intel.com> References: <20171107102156.3fgxt6y6v5y2kqnf@wfg-t540p.sh.intel.com> <20171108094832.qxvkawpw2snpcbvh@wfg-t540p.sh.intel.com> <20171108171230.ccf7lwutjysk26fc@wfg-t540p.sh.intel.com> <20171113011338.3qmnp64pttyscuus@wfg-t540p.sh.intel.com> <20171113185227.GM8522@tassilo.jf.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20171113185227.GM8522@tassilo.jf.intel.com> User-Agent: NeoMutt/20170609 (1.8.3) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andi, On Mon, Nov 13, 2017 at 10:52:27AM -0800, Andi Kleen wrote: >> > It's the "CONFIG_DEBUG_INFO_SPLIT" thing that makes faddr2line unable >> > to see the inlining information, >> > >> > Using OPTIMIZE_INLINING is fine. >> >> Good to know that! > >It works for me. Perhaps your binutils is too old? It was >added at some point. Can you try upgrading? > >% ./linux/scripts/faddr2line obj/vmlinux schedule+10 >schedule+10/0x80: >schedule at arch/x86/include/asm/current.h:15 > >% addr2line --version >GNU addr2line version 2.27-24.fc26 I use debian and tried addr2line in 2 systems: GNU addr2line (GNU Binutils for Debian) 2.28 GNU addr2line (GNU Binutils for Debian) 2.29.1 Regards, Fengguang