Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-08 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 07, 2015 at 07:03:50PM -0700, Alexei Starovoitov escreveu: > On 7/7/15 1:16 PM, Arnaldo Carvalho de Melo wrote: > >So, please move this to just before we can use it, wiring it up should > >mean, hey, try this "hello, world" eBPF program right now! > > btw, since bpf is now stable llvm

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-08 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 08, 2015 at 07:45:34PM +0800, Wangnan (F) escreveu: > On 2015/7/8 4:16, Arnaldo Carvalho de Melo wrote: > >Em Tue, Jul 07, 2015 at 04:54:52PM -0300, Arnaldo Carvalho de Melo escreveu: > >>Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: > >>>Error messages are also updated

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-08 Thread Wangnan (F)
On 2015/7/8 4:16, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 07, 2015 at 04:54:52PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-08 Thread Wangnan (F)
On 2015/7/8 4:16, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 07, 2015 at 04:54:52PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-08 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 07, 2015 at 07:03:50PM -0700, Alexei Starovoitov escreveu: On 7/7/15 1:16 PM, Arnaldo Carvalho de Melo wrote: So, please move this to just before we can use it, wiring it up should mean, hey, try this hello, world eBPF program right now! btw, since bpf is now stable llvm backend,

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-08 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 08, 2015 at 07:45:34PM +0800, Wangnan (F) escreveu: On 2015/7/8 4:16, Arnaldo Carvalho de Melo wrote: Em Tue, Jul 07, 2015 at 04:54:52PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: Error messages are also updated to notify

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-07 Thread Alexei Starovoitov
On 7/7/15 1:16 PM, Arnaldo Carvalho de Melo wrote: So, please move this to just before we can use it, wiring it up should mean, hey, try this "hello, world" eBPF program right now! btw, since bpf is now stable llvm backend, one can just get the latest clang/llvm 3.7 from pre-built llvm

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-07 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 07, 2015 at 04:54:52PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: > > By adding libbpf into perf's Makefile, this patch enables perf to > > build libbpf during building if libelf is found and neither NO_LIBELF > > nor

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-07 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: > By adding libbpf into perf's Makefile, this patch enables perf to > build libbpf during building if libelf is found and neither NO_LIBELF > nor NO_LIBBPF is set. The newly introduced code is similar to libapi > and libtraceevent

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-07 Thread Arnaldo Carvalho de Melo
Em Tue, Jul 07, 2015 at 04:54:52PM -0300, Arnaldo Carvalho de Melo escreveu: Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf is found and neither NO_LIBELF nor NO_LIBBPF is

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-07 Thread Arnaldo Carvalho de Melo
Em Wed, Jul 01, 2015 at 02:14:11AM +, Wang Nan escreveu: By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf is found and neither NO_LIBELF nor NO_LIBBPF is set. The newly introduced code is similar to libapi and libtraceevent building

Re: [RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-07-07 Thread Alexei Starovoitov
On 7/7/15 1:16 PM, Arnaldo Carvalho de Melo wrote: So, please move this to just before we can use it, wiring it up should mean, hey, try this hello, world eBPF program right now! btw, since bpf is now stable llvm backend, one can just get the latest clang/llvm 3.7 from pre-built llvm packages

[RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-06-30 Thread Wang Nan
By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf is found and neither NO_LIBELF nor NO_LIBBPF is set. The newly introduced code is similar to libapi and libtraceevent building in Makefile.perf. MANIFEST is also updated for 'make

[RFC PATCH v10 23/50] perf tools: Make perf depend on libbpf

2015-06-30 Thread Wang Nan
By adding libbpf into perf's Makefile, this patch enables perf to build libbpf during building if libelf is found and neither NO_LIBELF nor NO_LIBBPF is set. The newly introduced code is similar to libapi and libtraceevent building in Makefile.perf. MANIFEST is also updated for 'make