Re: [RFC PATCH v4 02/29] perf tools: Move linux/kernel.h to tools/include

From: Arnaldo Carvalho de Melo
Date: Wed May 27 2015 - 09:03:43 EST


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@xxxxxxxxxx>
> ---
> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/