[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20140923162623.GA1698@us.ibm.com>
Date: Tue, 23 Sep 2014 09:26:23 -0700
From: Sukadev Bhattiprolu <sukadev@...ux.vnet.ibm.com>
To: Aaro Koskinen <aaro.koskinen@....fi>
Cc: Jiri Olsa <jolsa@...hat.com>,
Michael Ellerman <michaele@....ibm.com>,
linuxppc-dev@...abs.org, Anton Blanchard <anton@....ibm.com>,
linux-kernel@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
ulrich.weigand@...ibm.com, Maynard Johnson <mpjohn@...ibm.com>
Subject: Re: [PATCH v5 1/1] powerpc/perf: Adjust callchain based on DWARF
debug info
Aaro Koskinen [aaro.koskinen@....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 <dwarf.h>
| ^
| compilation terminated.
Yes. Sorry. Anton fixed this recently:
https://lkml.org/lkml/2014/9/19/29
Sukadev
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists