Re: [PATCH 21/31] perf tools: Move linux/filter.h to tools/include

2015-09-01 Thread Arnaldo Carvalho de Melo
Em Wed, Sep 02, 2015 at 05:08:27AM +0800, pi3orama escreveu: > 发自我的 iPhone > > 在 2015年9月2日,上午3:39,Arnaldo Carvalho de Melo 写道: > > Em Sat, Aug 29, 2015 at 04:21:55AM +, Wang Nan escreveu: > >> From: He Kuang > >> This patch moves filter.h from include/linux/kernel.h to > > I said that befor

Re: [PATCH 21/31] perf tools: Move linux/filter.h to tools/include

2015-09-01 Thread pi3orama
发自我的 iPhone > 在 2015年9月2日,上午3:39,Arnaldo Carvalho de Melo 写道: > > Em Sat, Aug 29, 2015 at 04:21:55AM +, Wang Nan escreveu: >> From: He Kuang >> >> This patch moves filter.h from include/linux/kernel.h to > > I said that before: this is not moving anything, it is copying :-) > >> tools/

Re: [PATCH 21/31] perf tools: Move linux/filter.h to tools/include

2015-09-01 Thread Arnaldo Carvalho de Melo
Em Tue, Sep 01, 2015 at 04:39:59PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Sat, Aug 29, 2015 at 04:21:55AM +, Wang Nan escreveu: > > From: He Kuang > -/* Conditional jumps against immediates, if (dst_reg 'op' imm32) goto pc + > off16 */ > +/* Conditional jumps against immediates, > + *

Re: [PATCH 21/31] perf tools: Move linux/filter.h to tools/include

2015-09-01 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 29, 2015 at 04:21:55AM +, Wang Nan escreveu: > From: He Kuang > > This patch moves filter.h from include/linux/kernel.h to I said that before: this is not moving anything, it is copying :-) > tools/include/linux/filter.h to enable other libraries use macros in > it, like libbpf

Re: [PATCH 21/31] perf tools: Move linux/filter.h to tools/include

2015-08-31 Thread Arnaldo Carvalho de Melo
Em Sat, Aug 29, 2015 at 04:21:55AM +, Wang Nan escreveu: > From: He Kuang > > This patch moves filter.h from include/linux/kernel.h to Does this really _move_ a file from include/linux/kernel.h to some other place? Isn't there any other users for such file in the kernel sources? :-) Looking

[PATCH 21/31] perf tools: Move linux/filter.h to tools/include

2015-08-28 Thread Wang Nan
From: He Kuang This patch moves filter.h from include/linux/kernel.h to tools/include/linux/filter.h to enable other libraries use macros in it, like libbpf which will be introduced by further patches. Currenty, the moved filter.h only contains the useful macros needed by libbpf for not introduci