From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756248AbaIWQ0s (ORCPT ); Tue, 23 Sep 2014 12:26:48 -0400 Received: from e39.co.us.ibm.com ([32.97.110.160]:34638 "EHLO e39.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755785AbaIWQ0p (ORCPT ); Tue, 23 Sep 2014 12:26:45 -0400 Date: Tue, 23 Sep 2014 09:26:23 -0700 From: Sukadev Bhattiprolu To: Aaro Koskinen Cc: Jiri Olsa , Michael Ellerman , linuxppc-dev@ozlabs.org, Anton Blanchard , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , ulrich.weigand@de.ibm.com, Maynard Johnson Subject: Re: [PATCH v5 1/1] powerpc/perf: Adjust callchain based on DWARF debug info Message-ID: <20140923162623.GA1698@us.ibm.com> References: <20140625000052.GA4484@us.ibm.com> <20140625074248.GC1153@krava.brq.redhat.com> <20140625154903.GA29607@us.ibm.com> <20140922213345.GB666@drone.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140922213345.GB666@drone.musicnaut.iki.fi> X-Operating-System: Linux 2.0.32 on an i486 User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 14092316-9332-0000-0000-0000021BBD73 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Aaro Koskinen [aaro.koskinen@iki.fi] wrote: | Hi, | | On Wed, Jun 25, 2014 at 08:49:03AM -0700, Sukadev Bhattiprolu wrote: | > powerpc/perf: Adjust callchain based on DWARF debug info | > | > When saving the callchain on Power, the kernel conservatively saves excess | > entries in the callchain. A few of these entries are needed in some cases | > but not others. We should use the DWARF debug information to determine | > when the entries are needed. | | This patch breaks perf compilation if DWARF support is not present. | DWARF support is auto-detected early in the build, so IMHO either user | should be informed to install the needed stuff, or the build should | succeed with limited functionality. | | arch/powerpc/util/skip-callchain-idx.c:13:19: fatal error: dwarf.h: No such file or directory #include | ^ | compilation terminated. Yes. Sorry. Anton fixed this recently: https://lkml.org/lkml/2014/9/19/29 Sukadev