lkml.org 
[lkml]   [2010]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH -tip v3 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo
From
Date
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.



\
 
 \ /
  Last update: 2010-02-23 22:03    [from the cache]
©2003-2011 Jasper Spaans