Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH] perf: Fix UAPI fallout | Date | Mon, 15 Oct 2012 09:56:22 +0100 |
| |
Ingo Molnar <mingo@kernel.org> 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
| |