This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH -tip v3 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo
- From: Peter Zijlstra <peterz at infradead dot org>
- To: Roland McGrath <roland at redhat dot com>
- Cc: Masami Hiramatsu <mhiramat at redhat dot com>, Ingo Molnar <mingo at elte dot hu>, lkml <linux-kernel at vger dot kernel dot org>, systemtap <systemtap at sources dot redhat dot com>, DLE <dle-develop at lists dot sourceforge dot net>, Frederic Weisbecker <fweisbec at gmail dot com>, Arnaldo Carvalho de Melo <acme at redhat dot com>, Paul Mackerras <paulus at samba dot org>, Mike Galbraith <efault at gmx dot de>, "K.Prasad" <prasad at linux dot vnet dot ibm dot com>, Ulrich Drepper <drepper at redhat dot com>
- Date: Tue, 23 Feb 2010 22:00:09 +0100
- Subject: Re: [PATCH -tip v3 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo
- References: <20100223020818.26668.79685.stgit@localhost6.localdomain6> <20100223020852.26668.93415.stgit@localhost6.localdomain6> <20100223204933.F0A9164C@magilla.sf.frob.com>
On Tue, 2010-02-23 at 12:49 -0800, Roland McGrath wrote:
> > + BASIC_CFLAGS += -I/usr/include/elfutils
>
> The normal method is to use:
>
> #include <elfutils/libdw.h>
>
> Note that <dwarf.h> and <libelf.h> are not in the subdirectory.
We've had funny issues with distro's being inconsistent in placing those
files, so we chose this route of a direct include and playing games with
the include path to make it work.