[PATCH -tip v3 5/9] perf probe: Use elfutils-libdw for analyzing debuginfo

Peter Zijlstra peterz@infradead.org
Tue Feb 23 21:00:00 GMT 2010


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.



More information about the Systemtap mailing list