lkml.org 
[lkml]   [2015]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v4 02/29] perf tools: Move linux/kernel.h to tools/include
Em Wed, May 27, 2015 at 05:19:37AM +0000, Wang Nan escreveu:
> This patch moves kernel.h from tools/perf/util/include/linux/kernel.h
> to tools/include/linux/kernel.h to enable other libraries use macros in
> it, like libbpf which will be introduced by further patches.
>
> Signed-off-by: Wang Nan <wangnan0@huawei.com>
> ---
> tools/{perf/util => }/include/linux/kernel.h | 0
> 1 file changed, 0 insertions(+), 0 deletions(-)
> rename tools/{perf/util => }/include/linux/kernel.h (100%)
>
> diff --git a/tools/perf/util/include/linux/kernel.h b/tools/include/linux/kernel.h
> similarity index 100%
> rename from tools/perf/util/include/linux/kernel.h
> rename to tools/include/linux/kernel.h

Thanks, applied and now testing it thoroughly with:

$ make -C tools/perf build-test

Please use the above command when doing things that touches a lot of
stuff, as even in this seemingly simple case we may, for instance, end
up using the kernel's kernel.h directly and miss something we may have
on tools's (by now) kernel.h.

Ah, using 'perf test', as root, from time to time, also is highly
encouraged :-)

Thanks,

- Arnaldo


\
 
 \ /
  Last update: 2015-05-27 15:21    [W:0.263 / U:0.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site