Re: [PATCH -tip v3 5/9] perf probe: Use elfutils-libdw foranalyzing debuginfo
From: Peter Zijlstra
Date: Tue Feb 23 2010 - 16:00:47 EST
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/