Messages in this thread | | | Date | Wed, 27 May 2015 10:03:34 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [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
| |