lkml.org 
[lkml]   [2012]   [Oct]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] perf: Fix UAPI fallout
Date
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


\
 
 \ /
  Last update: 2012-10-15 11:41    [W:0.188 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site