From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751663Ab2JOI5L (ORCPT ); Mon, 15 Oct 2012 04:57:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59419 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751300Ab2JOI5J (ORCPT ); Mon, 15 Oct 2012 04:57:09 -0400 Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20121014085617.GA22544@gmail.com> References: <20121014085617.GA22544@gmail.com> <11002.1350125310@warthog.procyon.org.uk> To: Ingo Molnar Cc: dhowells@redhat.com, Linus Torvalds , paulus@samba.org, davem@davemloft.net, jaxboe@fusionio.com, tj@kernel.org, viro@zeniv.linux.org.uk, linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Peter Zijlstra , Thomas Gleixner , "H. Peter Anvin" Subject: Re: [PATCH] perf: Fix UAPI fallout Date: Mon, 15 Oct 2012 09:56:22 +0100 Message-ID: <13954.1350291382@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Ingo Molnar wrote: > Arnaldo: the way we include some of the include files directly > into tools/perf/ .c files [such as hw_breakpoint.h] and > represent others transparently via utils/include/ [such as > rbtree.h] is a bit messy and ought to be cleaned up I suspect. I tried to make the USERINCLUDE macro in the bottom-level Makefile that, but I didn't realise I had to export it:-(. That, however, also brings in linux/kconfig.h but I don't know whether you want/need that. > I think the best model would be to cleanly separate from any > /usr/include/linux/ muck, which might be out of sync, and which > might stand in the way of changes. Is it possible to exclude all > of /usr/include/ and try to build purely from > include/uapi/linux/ You would also need arch/foo/include/uapi/. David