This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH v2] configure: check for perf_event.h version
- From: Pedro Alves <palves at redhat dot com>
- To: Markus Metzger <markus dot t dot metzger at intel dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Thu, 06 Aug 2015 16:17:14 +0100
- Subject: Re: [PATCH v2] configure: check for perf_event.h version
- Authentication-results: sourceware.org; auth=none
- References: <1438874058-19971-1-git-send-email-markus dot t dot metzger at intel dot com>
On 08/06/2015 04:14 PM, Markus Metzger wrote:
> Intel(R) Processor Trace support requires a recent linux/perf_event.h header.
>
> When GDB is built on an older system, Intel(R) Processor Trace will not be
> available and there is no indication in the configure and build log as to
> what went wrong.
>
> Check for a compatible linux/perf_event.h at configure-time.
>
> 2015-08-06 Markus Metzger <markus.t.metzger@intel.com>
>
> gdb/
> * configure.ac: Check for PERF_ATTR_SIZE_VER5 in linux/perf_event.h
> * configure: Regenerate.
OK.
Thanks,
Pedro Alves