Re: [RFC PATCH v9 02/50] tools build: Add feature check for eBPF API

2015-06-30 Thread Wangnan (F)
On 2015/6/30 22:34, Arnaldo Carvalho de Melo wrote: Em Tue, Jun 30, 2015 at 10:29:08AM +0800, Wangnan (F) escreveu: On 2015/6/30 3:41, Arnaldo Carvalho de Melo wrote: So, what should I do now? I want to have that OFF line turned to "on", so that I can test this stuff. But the changelog says n

Re: [RFC PATCH v9 02/50] tools build: Add feature check for eBPF API

2015-06-30 Thread Arnaldo Carvalho de Melo
Em Tue, Jun 30, 2015 at 10:29:08AM +0800, Wangnan (F) escreveu: > On 2015/6/30 3:41, Arnaldo Carvalho de Melo wrote: > >>So, what should I do now? I want to have that OFF line turned to "on", > >>so that I can test this stuff. > >>But the changelog says nothing about it, lemme check the cover lett

Re: [RFC PATCH v9 02/50] tools build: Add feature check for eBPF API

2015-06-29 Thread Wangnan (F)
On 2015/6/30 3:41, Arnaldo Carvalho de Melo wrote: Em Mon, Jun 29, 2015 at 04:21:51PM -0300, Arnaldo Carvalho de Melo escreveu: Em Fri, Jun 26, 2015 at 02:15:07PM +, Wang Nan escreveu: In this patch, eBPF API is checked by compiling a c source file which uses fields in bpf_attr which will

Re: [RFC PATCH v9 02/50] tools build: Add feature check for eBPF API

2015-06-29 Thread Arnaldo Carvalho de Melo
Em Mon, Jun 29, 2015 at 04:21:51PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Fri, Jun 26, 2015 at 02:15:07PM +, Wang Nan escreveu: > > In this patch, eBPF API is checked by compiling a c source file which > > uses fields in bpf_attr which will be used by libbpf. > > > > Signed-off-by: Wan

Re: [RFC PATCH v9 02/50] tools build: Add feature check for eBPF API

2015-06-29 Thread Arnaldo Carvalho de Melo
Em Fri, Jun 26, 2015 at 02:15:07PM +, Wang Nan escreveu: > In this patch, eBPF API is checked by compiling a c source file which > uses fields in bpf_attr which will be used by libbpf. > > Signed-off-by: Wang Nan > Acked-by: Alexei Starovoitov So, I just applied this and after trying: [acm

[RFC PATCH v9 02/50] tools build: Add feature check for eBPF API

2015-06-26 Thread Wang Nan
In this patch, eBPF API is checked by compiling a c source file which uses fields in bpf_attr which will be used by libbpf. Signed-off-by: Wang Nan Acked-by: Alexei Starovoitov --- tools/build/Makefile.feature | 6 -- tools/build/feature/Makefile | 6 +- tools/build/feature/test-b