This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [PATCH -tip] perf probe: Check older elfutils and set NO_DWARF
- From: Robert Richter <robert dot richter at amd dot com>
- To: Masami Hiramatsu <mhiramat at redhat dot com>
- Cc: Ingo Molnar <mingo at elte dot hu>, Arnaldo Carvalho de Melo <acme at redhat dot com>, 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>
- Date: Tue, 11 May 2010 12:41:08 +0200
- Subject: Re: [PATCH -tip] perf probe: Check older elfutils and set NO_DWARF
- References: <4BE85C51.704@redhat.com> <20100511045953.9913.19485.stgit@localhost6.localdomain6>
On 11.05.10 00:59:53, Masami Hiramatsu wrote:
> Check whether elfutils is older than 0.138 (from which version checking
> routine has been introduced). And if so, set NO_DWARF because it is hard
> to check the API dependency without version checking.
This works for me, now the DWARF_SUPPORT macro is undefined and a
warning is generated:
Makefile:510: No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev
Thanks,
-Robert
--
Advanced Micro Devices, Inc.
Operating System Research Center
email: robert.richter@amd.com